Esempio n. 1
0
 /// <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);
     }
 }
Esempio n. 2
0
 /// <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);
     }
 }
Esempio n. 3
0
 public void InitializeAbility()
 {
     CasterConditions.Add(CreateCostCondition());
     CasterEffects.Add(CreateCostModifier());
 }