public override void InitTargets() { TarMana.AddTarget(this, manaCost); TarPosition.AddTarget(this, Target.AND(TarPosition.IsFrontline(), TarPosition.IsSameTeam(chrOwner))); }
public override void InitTargets() { TarMana.AddTarget(this, manaCost); TarChr.AddTarget(this, Target.AND(TarChr.IsDiffTeam(chrOwner), TarChr.IsFrontliner())); }
//If we have any extra requirements, we can AND those together with the basic "Can it cover the cost" check on the proposed mana public TarMana(Skill _skill, ManaCost _manaCostRequired, FnValidSelection _IsValidSelection) : base(_skill, Target.AND(_IsValidSelection, COVERSCOST(_manaCostRequired))) { manaCostRequired = _manaCostRequired; }