Removed damage thresholds from basic medical

This commit is contained in:
Glowbal 2015-04-19 13:08:28 +02:00
parent b71ac1485d
commit 8a7b3a1b33

View File

@ -63,12 +63,6 @@ if (_selectionName in GVAR(SELECTIONS)) then {
_newDamage = _damage - (_unit getHitPointDamage (GVAR(HITPOINTS) select (GVAR(SELECTIONS) find _selectionName)));
};
if ([_unit] call EFUNC(common,isPlayer)) then {
_newDamage = _newDamage / (GVAR(playerDamageThreshold) max 0.01);
} else {
_newDamage = _newDamage / (GVAR(AIDamageThreshold) max 0.01);
};
_damage = _damage - _newDamage;