/// <summary> /// Removes a condition to the corresponding list for caster or target /// </summary> /// <param name="c"></param> public void RemoveCondition(Condition c, bool casterCondition) { if (casterCondition) { CasterConditions.Remove(c); } else { TargetConditions.Remove(c); } }
/// <summary> /// Adds a condition to the corresponding list for caster or target /// </summary> /// <param name="c"></param> public void AddCondition(Condition c, bool casterCondition) { if (casterCondition) { CasterConditions.Add(c); } else { TargetConditions.Add(c); } }
public void InitializeAbility() { CasterConditions.Add(CreateCostCondition()); CasterEffects.Add(CreateCostModifier()); }