Reimplement unit levels using IUpgradable.

This commit is contained in:
Paul Chote
2014-07-30 20:14:13 +12:00
parent 0ca5336072
commit de775e2f56
8 changed files with 104 additions and 57 deletions

View File

@@ -1293,28 +1293,19 @@ Rules:
GivesBounty:
Percentage: 0
GainsExperience:
CostThreshold:
FirepowerModifier:
ArmorModifier:
SpeedModifier:
Upgrades:
^Tank:
ScriptInvulnerable:
GivesBounty:
Percentage: 0
GainsExperience:
CostThreshold:
FirepowerModifier:
ArmorModifier:
SpeedModifier:
Upgrades:
^Infantry:
ScriptInvulnerable:
GivesBounty:
Percentage: 0
GainsExperience:
CostThreshold:
FirepowerModifier:
ArmorModifier:
SpeedModifier:
Upgrades:
DeathSounds@NORMAL:
VolumeMultiplier: 0.1
DeathSounds@BURNED:
@@ -1326,10 +1317,7 @@ Rules:
GivesBounty:
Percentage: 0
GainsExperience:
CostThreshold:
FirepowerModifier:
ArmorModifier:
SpeedModifier:
Upgrades:
^Plane:
ScriptInvulnerable:
GivesBounty:

View File

@@ -54,6 +54,7 @@
CaptureNotification:
Notification: UnitStolen
ScriptTriggers:
GainsStatUpgrades:
^Tank:
AppearsOnRadar:
@@ -111,6 +112,7 @@
CaptureNotification:
Notification: UnitStolen
ScriptTriggers:
GainsStatUpgrades:
^Infantry:
AppearsOnRadar:
@@ -182,6 +184,7 @@
ShadowSequence: parach-shadow
Cloneable:
Types: Infantry
GainsStatUpgrades:
^Ship:
AppearsOnRadar:
@@ -215,6 +218,7 @@
Huntable:
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
^Plane:
AppearsOnRadar:
@@ -251,6 +255,7 @@
Huntable:
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
^Helicopter:
Inherits: ^Plane