Skip to content

Commit

Permalink
TESTCASE: Add Firestorm-support logic to Iron Curtain.
Browse files Browse the repository at this point in the history
  • Loading branch information
pchote committed Mar 24, 2019
1 parent d7005f9 commit 8c100b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions mods/ra/audio/notifications.yaml
Expand Up @@ -44,6 +44,7 @@ Speech:
InsufficientPower: nopowr1
IronCurtainCharging: ironchg1
IronCurtainReady: ironrdy1
IronCurtainActivated: ironcur9
KosyginFreed: kosyfre1
KosyginRescued: kosyres1
Leave: bct1
Expand Down
7 changes: 4 additions & 3 deletions mods/ra/rules/defaults.yaml
Expand Up @@ -171,10 +171,11 @@
DamageMultiplier@IRONCURTAIN:
RequiresCondition: invulnerability
Modifier: 0
TimedConditionBar:
Condition: invulnerability
ExternalCondition@INVULNERABILITY:
GrantConditionOnPrerequisite:
Condition: invulnerability
Prerequisites: global-invulnerability
DrainPrerequisitePowerOnDamage:
RequiresCondition: invulnerability

^AutoTargetGround:
AutoTarget:
Expand Down
11 changes: 4 additions & 7 deletions mods/ra/rules/structures.yaml
Expand Up @@ -422,20 +422,17 @@ IRON:
RequiresCondition: !disabled
WithBuildingBib:
HasMinibib: Yes
GrantExternalConditionPower@IRONCURTAIN:
GrantPrerequisiteChargeDrainPower@IRONCURTAIN:
PauseOnCondition: disabled
Prerequisite: global-invulnerability
Icon: invuln
ChargeInterval: 3000
Description: Invulnerability
LongDesc: Makes a group of units invulnerable\nfor 20 seconds.
Duration: 500
SelectTargetSpeechNotification: SelectTarget
LongDesc: Makes a group of units invulnerable
InsufficientPowerSpeechNotification: InsufficientPower
BeginChargeSpeechNotification: IronCurtainCharging
EndChargeSpeechNotification: IronCurtainReady
DisplayRadarPing: True
Condition: invulnerability
OnFireSound: ironcur9.aud
LaunchSpeechNotification: IronCurtainActivated
SupportPowerChargeBar:
Power:
Amount: -200
Expand Down

0 comments on commit 8c100b9

Please sign in to comment.