Convert UpgradeOnDamageState to conditions.

This commit is contained in:
Paul Chote
2016-12-03 17:30:16 +00:00
parent e0583af663
commit b9bc6eba16
4 changed files with 36 additions and 31 deletions

View File

@@ -418,8 +418,8 @@
WithInfantryBody:
DefaultAttackSequence: attack
IdleSequences: idle1,idle2
UpgradeOnDamageState@CRITICAL:
Upgrades: criticalspeed
GrantConditionOnDamageState@CRITICAL:
Condition: criticalspeed
ValidDamageStates: Critical
GrantPermanently: true
SpeedMultiplier@CRITICAL:
@@ -498,11 +498,11 @@
Weapons: SmallDebris
Pieces: 3, 7
Range: 2c0, 5c0
UpgradeOnDamageState@DAMAGED:
Upgrades: damagedspeed
GrantConditionOnDamageState@DAMAGED:
Condition: damagedspeed
ValidDamageStates: Heavy
UpgradeOnDamageState@CRITICAL:
Upgrades: criticalspeed
GrantConditionOnDamageState@CRITICAL:
Condition: criticalspeed
ValidDamageStates: Critical
SpeedMultiplier@DAMAGED:
RequiresCondition: damagedspeed