mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_handleDamageBox.sqf
This commit is contained in:
parent
d7d6eb05e3
commit
389e1c71d2
@ -37,7 +37,7 @@ if (
|
||||
{getNumber (_ammoConfig >> QEGVAR(vehicle_damage,incendiary)) > random 1} ||
|
||||
{random 1 < _damage * 0.05 && {_ammo getShotInfo 4}} // there is a small chance of cooking a box off if it's shot by tracer ammo
|
||||
) then {
|
||||
[QGVAR(cookOffBox), [_box, _source, _instigator]] call CBA_fnc_serverEvent;
|
||||
[QGVAR(cookOffBoxServer), [_box, _source, _instigator]] call CBA_fnc_serverEvent;
|
||||
};
|
||||
|
||||
// Prevent destruction, let cook-off handle it if necessary
|
||||
|
Loading…
Reference in New Issue
Block a user