Beispiel #1
0
 public static bool CanCastSpell(this LocalPlayer player, string spellName)
 {
     return(!player.IsCasting() &&
            player.CanCast() &&
            SpellBook.IsSpellReady(spellName));
 }