public static TarSkillSlot AddTarget(Skill _skill, FnValidSelection _IsValidSelection) { TarSkillSlot tarskillslot = new TarSkillSlot(_skill, _IsValidSelection); _skill.lstTargets.Add(tarskillslot); return(tarskillslot); }
public static TarAdapt AddTarget(Skill _skill, FnValidSelection _IsValidSkillSlot, FnValidSelection _IsValidAdaptSkill) { TarSkillSlot tarskillslot = TarSkillSlot.AddTarget(_skill, _IsValidSkillSlot); TarAdapt tarAdapt = new TarAdapt(_skill, _IsValidAdaptSkill); _skill.lstTargets.Add(tarAdapt); tarAdapt.iTargetSkillSlotToReplace = tarskillslot.iTargetIndex; return(tarAdapt); }
public override void InitTargets() { TarMana.AddTarget(this, manaCost); TarAdapt.AddTarget(this, TarSkillSlot.IsOwnedBySameChr(chrOwner), Target.TRUE); }