Include Armament and Barrel in INotifyAttack.

This commit is contained in:
Paul Chote
2013-08-03 16:21:57 +12:00
parent deb03e7a02
commit 755fa6eaf4
11 changed files with 17 additions and 9 deletions

View File

@@ -67,7 +67,7 @@ namespace OpenRA.Mods.RA
Panic();
}
public void Attacking(Actor self, Target target)
public void Attacking(Actor self, Target target, Armament a, Barrel barrel)
{
if (self.World.SharedRandom.Next(100 / Info.AttackPanicChance) == 0)
Panic();