mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +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:
parent
c423e2167c
commit
4792e74b2b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user