Convert AttackSwallow to conditions.

This commit is contained in:
Paul Chote
2016-12-03 18:20:33 +00:00
parent 29d7d42638
commit 5719e62c2c
4 changed files with 22 additions and 17 deletions

View File

@@ -27,8 +27,8 @@ namespace OpenRA.Mods.D2k.Traits
public readonly int AttackDelay = 30;
[UpgradeGrantedReference]
[Desc("The upgrades to grant while attacking.")]
public readonly string[] AttackingUpgrades = { "attacking" };
[Desc("The condition to grant to self while attacking.")]
public readonly string AttackingCondition = null;
public readonly string WormAttackSound = "WORM.WAV";