mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul
This commit is contained in:
commit
2f1c7d9bf7
@ -30,7 +30,7 @@ if (!local _currentUnit) exitWith {
|
|||||||
|
|
||||||
|
|
||||||
private _aID = missionNamespace getVariable [QGVAR(dev_clearTraceAction), -1];
|
private _aID = missionNamespace getVariable [QGVAR(dev_clearTraceAction), -1];
|
||||||
if (_aID > -1 && {_lastUnit isNotEqualTo objNull}) then {
|
if (_aID > -1 && {!isNull _lastUnit}) then {
|
||||||
_lastUnit removeAction _aID;
|
_lastUnit removeAction _aID;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -43,7 +43,6 @@ if (_ammo isEqualTo "" || {_posASL isEqualTo [0, 0, 0] || _timeSinceLastFrag < A
|
|||||||
private _maxFragCount = round linearConversion [0.1, 1.5, _timeSinceLastFrag, ACE_FRAG_COUNT_MIN, ACE_FRAG_COUNT_MAX, true];
|
private _maxFragCount = round linearConversion [0.1, 1.5, _timeSinceLastFrag, ACE_FRAG_COUNT_MIN, ACE_FRAG_COUNT_MAX, true];
|
||||||
TRACE_3("willFrag",_timeSinceLastFrag,CBA_missionTime,_maxFragCount);
|
TRACE_3("willFrag",_timeSinceLastFrag,CBA_missionTime,_maxFragCount);
|
||||||
|
|
||||||
|
|
||||||
private _ammoArr = [_ammo] call FUNC(getFragInfo);
|
private _ammoArr = [_ammo] call FUNC(getFragInfo);
|
||||||
_ammoArr params ["_fragRange", "_fragVel", "_fragTypes", "_modFragCount"];
|
_ammoArr params ["_fragRange", "_fragVel", "_fragTypes", "_modFragCount"];
|
||||||
// For low frag rounds limit the # of frags created
|
// For low frag rounds limit the # of frags created
|
||||||
|
Loading…
Reference in New Issue
Block a user