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