Merge pull request #6575 from pchote/selfhealing

Add elite self-healing bonus
This commit is contained in:
reaperrr
2014-09-27 13:19:24 +02:00
12 changed files with 185 additions and 53 deletions

View File

@@ -83,8 +83,6 @@ HOSP:
ExternalCapturable:
ExternalCapturableBar:
EngineerRepairable:
SelfHealingTech:
Type: InfantryHealing
Tooltip:
Name: Hospital
RevealsShroud:

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,12 +173,15 @@
Guard:
Guardable:
BodyOrientation:
SelfHealing:
SelfHealing@HOSPITAL:
Step: 5
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresTech: InfantryHealing
RequiresUpgrade: hospitalheal
GlobalUpgradable:
Upgrades: hospitalheal
Prerequisites: hosp
Huntable:
LuaScriptEvents:
ScriptTriggers:
@@ -188,6 +203,12 @@
Cloneable:
Types: Infantry
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Ship:
AppearsOnRadar:
@@ -222,6 +243,12 @@
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Plane:
AppearsOnRadar:
@@ -259,6 +286,12 @@
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
RequiresUpgrade: selfheal
^Helicopter:
Inherits: ^Plane

View File

@@ -71,4 +71,5 @@ Player:
Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium
ProvidesTechPrerequisite@unrestricted:
Name: Unrestricted
Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium, techlevel.unrestricted
Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium, techlevel.unrestricted
GlobalUpgradeManager: