Add an AttackWander trait for creeps. Remove a pile of bogosity from AttackMove.

This commit is contained in:
Paul Chote
2011-02-10 22:28:04 +13:00
parent fae355f5b6
commit 48482cf09a
7 changed files with 351 additions and 310 deletions

View File

@@ -151,7 +151,7 @@ namespace OpenRA.Mods.RA.Air
return int2.Zero;
if (d.LengthSquared < 1)
return Aircraft.SubPxVector[self.World.SharedRandom.Next(255)];
return Util.SubPxVector[self.World.SharedRandom.Next(255)];
return (5120 / d.LengthSquared) * d;
}
}