Added IRangeMultiplier

This commit is contained in:
atlimit8
2015-06-27 13:52:00 -05:00
parent 65c1d2f5c1
commit 74a9dc6793
14 changed files with 96 additions and 23 deletions

View File

@@ -43,7 +43,7 @@ namespace OpenRA.Mods.RA.Traits
if (a == null)
return;
if (!target.IsInRange(self.CenterPosition, a.Weapon.Range))
if (!target.IsInRange(self.CenterPosition, a.MaxRange()))
return;
self.CancelActivity();