Merge pull request #11816 from reaperrr/fix-UpgradeOnDamage

Fix UpgradeOnDamage to apply if initial DamageState is valid
This commit is contained in:
Oliver Brakmann
2016-08-20 15:25:10 +02:00
committed by GitHub
4 changed files with 44 additions and 22 deletions

View File

@@ -397,7 +397,7 @@
WithInfantryBody:
AttackSequence: attack
IdleSequences: idle1,idle2
UpgradeOnDamage@CRITICAL:
UpgradeOnDamageState@CRITICAL:
Upgrades: criticalspeed
ValidDamageStates: Critical
GrantPermanently: true
@@ -476,10 +476,10 @@
Weapons: SmallDebris
Pieces: 3, 7
Range: 2c0, 5c0
UpgradeOnDamage@DAMAGED:
UpgradeOnDamageState@DAMAGED:
Upgrades: damagedspeed
ValidDamageStates: Heavy
UpgradeOnDamage@CRITICAL:
UpgradeOnDamageState@CRITICAL:
Upgrades: criticalspeed
ValidDamageStates: Critical
SpeedMultiplier@DAMAGED: