Reimplement iron curtain as a generic stat upgrade.
This commit is contained in:
@@ -862,16 +862,17 @@ Rules:
|
||||
Duration: 999999
|
||||
KillCargo: yes
|
||||
Range: 3
|
||||
IronCurtainPower:
|
||||
GrantUpgradePower@IRONCURTAIN:
|
||||
Icon: invuln
|
||||
ChargeTime: 30
|
||||
Description: Invulnerability
|
||||
LongDesc: Makes a unit invulnerable\nfor 3 seconds.
|
||||
Duration: 3
|
||||
Duration: 75
|
||||
SelectTargetSound: slcttgt1.aud
|
||||
BeginChargeSound: ironchg1.aud
|
||||
EndChargeSound: ironrdy1.aud
|
||||
Range: 1
|
||||
Upgrades: invulnerability
|
||||
Power:
|
||||
Amount: 0
|
||||
MINVV:
|
||||
@@ -928,16 +929,17 @@ Rules:
|
||||
Duration: 999999
|
||||
KillCargo: yes
|
||||
Range: 3
|
||||
IronCurtainPower:
|
||||
GrantUpgradePower@IRONCURTAIN:
|
||||
Icon: invuln
|
||||
ChargeTime: 30
|
||||
Description: Invulnerability
|
||||
LongDesc: Makes a unit invulnerable\nfor 3 seconds.
|
||||
Duration: 3
|
||||
Duration: 75
|
||||
SelectTargetSound: slcttgt1.aud
|
||||
BeginChargeSound: ironchg1.aud
|
||||
EndChargeSound: ironrdy1.aud
|
||||
Range: 1
|
||||
Upgrades: invulnerability
|
||||
|
||||
Sequences:
|
||||
miner:
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
Chronoshiftable:
|
||||
Passenger:
|
||||
CargoType: Vehicle
|
||||
IronCurtainable:
|
||||
AttackMove:
|
||||
HiddenUnderFog:
|
||||
GainsExperience:
|
||||
@@ -61,6 +60,12 @@
|
||||
DamageCooldown: 125
|
||||
RequiresUpgrade: selfheal
|
||||
UpgradeManager:
|
||||
UpgradeOverlay@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
InvulnerabilityUpgrade@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
TimedUpgradeBar:
|
||||
Upgrade: invulnerability
|
||||
|
||||
^Tank:
|
||||
AppearsOnRadar:
|
||||
@@ -84,7 +89,6 @@
|
||||
Chronoshiftable:
|
||||
Passenger:
|
||||
CargoType: Vehicle
|
||||
IronCurtainable:
|
||||
AttackMove:
|
||||
HiddenUnderFog:
|
||||
GainsExperience:
|
||||
@@ -125,6 +129,12 @@
|
||||
DamageCooldown: 125
|
||||
RequiresUpgrade: selfheal
|
||||
UpgradeManager:
|
||||
UpgradeOverlay@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
InvulnerabilityUpgrade@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
TimedUpgradeBar:
|
||||
Upgrade: invulnerability
|
||||
|
||||
^Infantry:
|
||||
AppearsOnRadar:
|
||||
@@ -250,8 +260,13 @@
|
||||
HealIfBelow: 1
|
||||
DamageCooldown: 125
|
||||
RequiresUpgrade: selfheal
|
||||
IronCurtainable:
|
||||
UpgradeManager:
|
||||
UpgradeOverlay@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
InvulnerabilityUpgrade@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
TimedUpgradeBar:
|
||||
Upgrade: invulnerability
|
||||
|
||||
^Plane:
|
||||
AppearsOnRadar:
|
||||
@@ -295,8 +310,13 @@
|
||||
HealIfBelow: 1
|
||||
DamageCooldown: 125
|
||||
RequiresUpgrade: selfheal
|
||||
IronCurtainable:
|
||||
UpgradeManager:
|
||||
UpgradeOverlay@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
InvulnerabilityUpgrade@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
TimedUpgradeBar:
|
||||
Upgrade: invulnerability
|
||||
|
||||
^Helicopter:
|
||||
Inherits: ^Plane
|
||||
@@ -352,8 +372,13 @@
|
||||
LuaScriptEvents:
|
||||
Demolishable:
|
||||
ScriptTriggers:
|
||||
IronCurtainable:
|
||||
UpgradeManager:
|
||||
UpgradeOverlay@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
InvulnerabilityUpgrade@IRONCURTAIN:
|
||||
RequiresUpgrade: invulnerability
|
||||
TimedUpgradeBar:
|
||||
Upgrade: invulnerability
|
||||
|
||||
^Defense:
|
||||
Inherits: ^Building
|
||||
|
||||
@@ -213,17 +213,18 @@ IRON:
|
||||
Range: 10c0
|
||||
Bib:
|
||||
HasMinibib: Yes
|
||||
IronCurtainPower:
|
||||
GrantUpgradePower@IRONCURTAIN:
|
||||
Icon: invuln
|
||||
ChargeTime: 120
|
||||
Description: Invulnerability
|
||||
LongDesc: Makes a group of units invulnerable\nfor 20 seconds.
|
||||
Duration: 20
|
||||
Duration: 500
|
||||
SelectTargetSound: slcttgt1.aud
|
||||
InsufficientPowerSound: nopowr1.aud
|
||||
BeginChargeSound: ironchg1.aud
|
||||
EndChargeSound: ironrdy1.aud
|
||||
DisplayRadarPing: True
|
||||
Upgrades: invulnerability
|
||||
SupportPowerChargeBar:
|
||||
Power:
|
||||
Amount: -200
|
||||
|
||||
@@ -651,7 +651,7 @@ DTRK:
|
||||
Weapon: MiniNuke
|
||||
EmptyWeapon: MiniNuke
|
||||
DemoTruck:
|
||||
-IronCurtainable:
|
||||
-InvulnerabilityUpgrade@IRONCURTAIN:
|
||||
Chronoshiftable:
|
||||
ExplodeInstead: yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user