Merge pull request #12477 from pchote/conditions-lint

Add a conditions lint rule + other rules fixes.
This commit is contained in:
Oliver Brakmann
2016-12-23 14:27:22 +01:00
committed by GitHub
44 changed files with 325 additions and 161 deletions

View File

@@ -26,7 +26,7 @@ namespace OpenRA.Mods.D2k.Traits
[Desc("The number of ticks it takes to get in place under the target to attack.")]
public readonly int AttackDelay = 30;
[UpgradeGrantedReference]
[GrantedConditionReference]
[Desc("The condition to grant to self while attacking.")]
public readonly string AttackingCondition = null;