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

@@ -40,6 +40,12 @@
Demolishable:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Tank:
AppearsOnRadar:
@@ -83,6 +89,12 @@
Demolishable:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Husk:
Health:
@@ -203,6 +215,12 @@
Parachutable:
FallRate: 130
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Plane:
AppearsOnRadar:
@@ -229,6 +247,12 @@
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Helicopter:
Inherits: ^Plane