unhack that a bit; delayed damage works

This commit is contained in:
Chris Forbes
2010-04-01 18:30:55 +13:00
parent cefee4b1d2
commit dda6a939f1
3 changed files with 21 additions and 5 deletions

View File

@@ -34,6 +34,7 @@ namespace OpenRA.GameRules
public readonly string ImpactSound = null;
public readonly string WaterImpactSound = null;
public readonly int Damage = 0; // for new weapons infrastructure
public readonly int Delay = 0; // delay in ticks before dealing the damage. 0=instant
public float EffectivenessAgainst(ArmorType at) { return Verses[ (int)at ]; }
}