/// <summary> /// Adds an effect to the corresponding list for caster or target /// </summary> /// <param name="effect"></param> /// <param name="casterEffect"></param> public void AddEffect(Effect e, bool casterEffect) { if (casterEffect) { CasterEffects.Add(e); } else { TargetEffects.Add(e); } }
public void InitializeAbility() { CasterConditions.Add(CreateCostCondition()); CasterEffects.Add(CreateCostModifier()); }