mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Completed suggested changed by johnb432
This commit is contained in:
parent
8c68f131fa
commit
eb04dec423
@ -15,7 +15,7 @@
|
||||
* None
|
||||
*
|
||||
* Example:
|
||||
* [[1000, 45, 60], 0.8, getPosASL ace_player] call ace_frag_fnc_doSpall
|
||||
* [editorPlacedHouse_0, typeOf _projectile, _projectile, [1000, 40, 60], [0, 1000, 0], [objNull, ace_player]] call ace_frag_fnc_doSpall
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -53,7 +53,7 @@ if (GVAR(spallEnabled) && {_ammo call FUNC(shouldSpall)}) then {
|
||||
_projectile setVariable [QGVAR(hitPartEventHandler), _hitPartEventHandler];
|
||||
};
|
||||
|
||||
if (GVAR(reflectionsEnabled) || GVAR(enabled) && _ammo call FUNC(shouldFrag)) then {
|
||||
if (GVAR(reflectionsEnabled) || (GVAR(enabled) && {_ammo call FUNC(shouldFrag)})) then {
|
||||
private _explodeEventHandler = _projectile addEventHandler [
|
||||
"Explode",
|
||||
{
|
||||
|
@ -29,7 +29,8 @@ private _maxFrags = round linearConversion [
|
||||
ACE_FRAG_COUNT_MIN_TIME,
|
||||
ACE_FRAG_COUNT_MAX_TIME,
|
||||
(CBA_missionTime - GVAR(lastFragTime)),
|
||||
ACE_FRAG_COUNT_MIN, ACE_FRAG_COUNT_MAX,
|
||||
ACE_FRAG_COUNT_MIN,
|
||||
ACE_FRAG_COUNT_MAX,
|
||||
true
|
||||
];
|
||||
TRACE_2("",_maxFrags,CBA_missionTime - GVAR(lastFragTime));
|
||||
|
Loading…
Reference in New Issue
Block a user