Example #1
0
 /// <summary>
 /// Forward list of spell effects to caster and target
 /// </summary>
 /// <param name="caster"></param>
 /// <param name="target"></param>
 public void Cast(Fighter caster, Fighter target)
 {
     SpellEffectsForCaster.ForEach(spellBuff => caster.AddSpellEffect(spellBuff));
     SpellEffectsForTarget.ForEach(spellBuff => target.AddSpellEffect(spellBuff));
     CooldownReamingTime = Cooldown;
 }