Add self-healing for elite units.

This commit is contained in:
Paul Chote
2014-09-26 22:45:11 +12:00
parent 372d03c320
commit 2bbdd0ae06
5 changed files with 121 additions and 7 deletions

View File

@@ -55,6 +55,12 @@
Notification: UnitStolen
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Tank:
AppearsOnRadar:
@@ -113,6 +119,12 @@
Notification: UnitStolen
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Infantry:
AppearsOnRadar:
@@ -161,7 +173,7 @@
Guard:
Guardable:
BodyOrientation:
SelfHealing:
SelfHealing@HOSPITAL:
Step: 5
Ticks: 100
HealIfBelow: 1
@@ -191,6 +203,12 @@
Cloneable:
Types: Infantry
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Ship:
AppearsOnRadar:
@@ -225,6 +243,12 @@
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Plane:
AppearsOnRadar:
@@ -262,6 +286,12 @@
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Helicopter:
Inherits: ^Plane