Merge pull request #8760 from atlimit8/RangeMultiplier

Added [I]RangeMultiplier & made UpgradeMultiplierTraitInfo implement ITraitInfo
This commit is contained in:
RoosterDragon
2015-09-26 16:24:17 +01:00
25 changed files with 124 additions and 42 deletions

View File

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