Remove AttackFrontal's FacingTolerance and define it explicitly in rules

This commit is contained in:
abcdefg30
2022-01-07 02:36:27 +01:00
committed by abcdefg30
parent 9049ae6f20
commit 889425ab0f
21 changed files with 65 additions and 3 deletions

View File

@@ -18,9 +18,6 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Unit got to face the target")]
public class AttackFrontalInfo : AttackBaseInfo, Requires<IFacingInfo>
{
[Desc("Tolerance for attack angle. Range [0, 512], 512 covers 360 degrees.")]
public new readonly WAngle FacingTolerance = WAngle.Zero;
public override object Create(ActorInitializer init) { return new AttackFrontal(init.Self, this); }
}