Raname GrantConditionOnDeployWithCharge to GrantChargedConditionOnToggle

Also allow deploying without cancelling current activity, and make saboteurs use it

(cherry picked from commit 8b4478260e95170f392ef00c1b06b76dfc29bf2b)
This commit is contained in:
Gustas
2024-12-02 14:14:27 +02:00
committed by Pavel Penev
parent 2ccfa425b2
commit e0d893b736
3 changed files with 84 additions and 70 deletions

View File

@@ -326,14 +326,14 @@ saboteur:
Flashes: 0
EnterBehaviour: Suicide
-RevealOnFire:
GrantConditionOnDeployWithCharge:
DeployedCondition: deployed
GrantChargedConditionOnToggle:
ActivatedCondition: cloaked
CanCancelCondition: true
ChargeDuration: 1250
ChargeThreshhold: 100
ConditionDuration: 375
Cloak:
RequiresCondition: deployed
RequiresCondition: cloaked
InitialDelay: 0
CloakDelay: 25
CloakSound: STEALTH1.WAV

View File

@@ -446,11 +446,11 @@ MOBILEMP:
RequiresCondition: !inside-tunnel
Range: 6c0
MaxHeightDelta: 3
GrantConditionOnDeployWithCharge:
GrantChargedConditionOnToggle:
Voice: Move
ChargeDuration: 750
DeployedCondition: deployed
ActivatedCondition: triggered
PauseOnCondition: empdisable
FireWarheads:
Weapons: MEMPulse
RequiresCondition: deployed && !empdisable
RequiresCondition: triggered && !empdisable