Explosives - Change SLAM magnetic to detonate upon defusal (#6827)

* Change SLAM magnetic to detonate upon defusal

* Disable explodeOnDefuseChance on SLAM timer mode
This commit is contained in:
Josuan Albin 2019-02-24 21:18:01 +01:00 committed by PabstMirror
parent c423e2167c
commit 4792e74b2b

View File

@ -65,6 +65,7 @@ class CfgAmmo {
GVAR(size) = 0;
};
// "The SLAM has an anti-tamper feature that is only active in the bottom- and side-attack modes."
class SLAMDirectionalMine_Wire_Ammo: DirectionalBombBase {
indirectHitRange = 20;
GVAR(explodeOnDefuseChance) = 1;
@ -77,10 +78,11 @@ class CfgAmmo {
};
class ACE_SLAMDirectionalMine_Timer_Ammo: SLAMDirectionalMine_Wire_Ammo {
mineTrigger = "TimeTrigger";
GVAR(explodeOnDefuseChance) = 0;
};
class ACE_SLAMDirectionalMine_Magnetic_Ammo: SLAMDirectionalMine_Wire_Ammo {
mineTrigger = "ACE_MagneticTrigger";
GVAR(explodeOnDefuseChance) = 0;
GVAR(explodeOnDefuseChance) = 1;
explosionAngle = 360;
indirectHitRange = 1;
mineInconspicuousness = 25;