Example #1
0
 public static void SetSpellTarget(WizardToken target, Spell spell)
 {
     Structs.SpellTarget spellTarget = new Structs.SpellTarget
     {
         target = target.Index,
         spell  = spell.Index
     };
     LocalPlayer.SetTarget(target.GetStruct());
     LocalPlayer.SetSpell(spell.GetStruct());
     LocalPlayer.SetSpellTarget(localPlayerIndex, spellTarget);
 }
Example #2
0
 private void SetSpellView(Structs.Spell oldSpell, Structs.Spell newSpell)
 {
     wizardView?.SetSpell(newSpell);
 }