AT and AP mine traits

This commit is contained in:
Paul Chote
2009-12-23 03:49:49 -08:00
parent eae88e7774
commit a9010d1947
8 changed files with 113 additions and 2 deletions

View File

@@ -17,7 +17,12 @@ namespace OpenRa.Game.Traits
{
self.InflictDamage(crusher, self.Health, Rules.WarheadInfo["Crush"]);
}
public bool IsPathableCrush(UnitMovementType umt, Player player)
{
return IsCrushableBy(umt, player);
}
public bool IsCrushableBy(UnitMovementType umt, Player player)
{
if (player == Game.LocalPlayer) return false;