exclusive force fire on husks and bridges
This commit is contained in:
@@ -16,8 +16,10 @@ namespace OpenRA.Mods.RA
|
||||
public class TargetableUnitInfo : ITraitInfo, ITargetableInfo
|
||||
{
|
||||
public readonly string[] TargetTypes = { };
|
||||
|
||||
public string[] GetTargetTypes() { return TargetTypes; }
|
||||
|
||||
public bool RequiresForceFire = false;
|
||||
|
||||
public virtual object Create(ActorInitializer init) { return new TargetableUnit(init.self, this); }
|
||||
}
|
||||
|
||||
@@ -46,5 +48,7 @@ namespace OpenRA.Mods.RA
|
||||
{
|
||||
yield return self.CenterPosition;
|
||||
}
|
||||
|
||||
public bool RequiresForceFire { get { return info.RequiresForceFire; } }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user