{
if !(_x getVariable ["balanced", false]) then {
_x addEventHandler ["Killed", {
(_this select 0) removeAllEventHandlers "HandleDamage";
}];
if (_x isKindOf "Burnes_FV4034_01" || _x isKindOf "Burnes_FV4034_02") then {
_x addEventHandler ["HandleDamage", { (_this select 2) * 2.0 }];
}
else {
_x addEventHandler ["HandleDamage", { (_this select 2) * 0.8 }];
};
_x setVariable ["balanced", true];
};
} forEach (vehicles select {_x isKindOf "Tank"});
Comments