mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 04:42:48 +00:00
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:
committed by
PabstMirror
parent
c423e2167c
commit
4792e74b2b
@ -65,6 +65,7 @@ class CfgAmmo {
|
|||||||
GVAR(size) = 0;
|
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 {
|
class SLAMDirectionalMine_Wire_Ammo: DirectionalBombBase {
|
||||||
indirectHitRange = 20;
|
indirectHitRange = 20;
|
||||||
GVAR(explodeOnDefuseChance) = 1;
|
GVAR(explodeOnDefuseChance) = 1;
|
||||||
@ -77,10 +78,11 @@ class CfgAmmo {
|
|||||||
};
|
};
|
||||||
class ACE_SLAMDirectionalMine_Timer_Ammo: SLAMDirectionalMine_Wire_Ammo {
|
class ACE_SLAMDirectionalMine_Timer_Ammo: SLAMDirectionalMine_Wire_Ammo {
|
||||||
mineTrigger = "TimeTrigger";
|
mineTrigger = "TimeTrigger";
|
||||||
|
GVAR(explodeOnDefuseChance) = 0;
|
||||||
};
|
};
|
||||||
class ACE_SLAMDirectionalMine_Magnetic_Ammo: SLAMDirectionalMine_Wire_Ammo {
|
class ACE_SLAMDirectionalMine_Magnetic_Ammo: SLAMDirectionalMine_Wire_Ammo {
|
||||||
mineTrigger = "ACE_MagneticTrigger";
|
mineTrigger = "ACE_MagneticTrigger";
|
||||||
GVAR(explodeOnDefuseChance) = 0;
|
GVAR(explodeOnDefuseChance) = 1;
|
||||||
explosionAngle = 360;
|
explosionAngle = 360;
|
||||||
indirectHitRange = 1;
|
indirectHitRange = 1;
|
||||||
mineInconspicuousness = 25;
|
mineInconspicuousness = 25;
|
||||||
|
Reference in New Issue
Block a user