Add IgnoresVisibility field to AttackBase

This commit is contained in:
penev92
2015-01-11 16:39:29 +01:00
parent ea9ebaa08d
commit e42cf58cb1
2 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ using System.Drawing;
using System.Linq;
using OpenRA.Activities;
using OpenRA.GameRules;
using OpenRA.Mods.Common;
using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
@@ -30,6 +29,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Does the attack type require the attacker to enter the target's cell?")]
public readonly bool AttackRequiresEnteringCell = false;
[Desc("Does not care about shroud or fog. Enables the actor to launch an attack against a target even if he has no visibility of it.")]
public readonly bool IgnoresVisibility = false;
public abstract object Create(ActorInitializer init);
}