Esempio n. 1
0
 public void TargetSpell(Action spellCallback, SpellTargetEventArgs args, bool forceTargeting = false)
 {
     if (forceTargeting || AllowSpellTargets)
     {
         OnSpellTargeting(args);
         AffectSpell(spellCallback, forceTargeting);
         OnSpellTargeted(args);
     }
 }
Esempio n. 2
0
 protected virtual void OnSpellTargeted(SpellTargetEventArgs e)
 {
     SpellTargeted?.Invoke(this, e);
 }