mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add sideskirts and armor to ignored hitpoints
This commit is contained in:
parent
aab542aa27
commit
e35b7dc52a
@ -64,8 +64,10 @@ private _processedSelections = [];
|
|||||||
continue
|
continue
|
||||||
};
|
};
|
||||||
|
|
||||||
if (_hitpoint select [0,7] isEqualTo "hitera_" || {_hitpoint select [0,8] isEqualTo "hitslat_"} || {_hitpoint select [0,4] isEqualTo "era_"}) then { // skip era/slat
|
if (_hitpoint select [0,7] isEqualTo "hitera_" || {_hitpoint select [0,4] isEqualTo "era_"}
|
||||||
TRACE_3("Skipping ERA/Slat HitPoint",_hitpoint,_forEachIndex,_selection);
|
|| {_hitpoint select [0,8] isEqualTo "hitslat_"} || {_hitpoint select [0,5] isEqualTo "slat_"}
|
||||||
|
|| {_hitpoint select [0,9] isEqualTo "sideskirt"} || {_hitpoint select [0,6] isEqualTo "armor_"}) then { // skip era/slat/sideskirt/armor
|
||||||
|
TRACE_3("Skipping ERA/Slat/Sideskirt/Armor HitPoint",_hitpoint,_forEachIndex,_selection);
|
||||||
/*#ifdef DEBUG_MODE_FULL
|
/*#ifdef DEBUG_MODE_FULL
|
||||||
systemChat format ["Skipping ERA/SLAT, hitpoint %1, index %2, selection %3", _hitpoint, _forEachIndex, _selection];
|
systemChat format ["Skipping ERA/SLAT, hitpoint %1, index %2, selection %3", _hitpoint, _forEachIndex, _selection];
|
||||||
#endif*/
|
#endif*/
|
||||||
|
Loading…
Reference in New Issue
Block a user