Magic

Magic

190k Downloads

Possible to check if player has an spell?

imim332 opened this issue ยท 2 comments

commented

Title says it.

commented

Currently spells are stored by wands, not players. I'm aiming to change this in 7.0

For now you have to check a player's Wand, not the player. This can be done via the API, e.g. api.getMage().getActiveWand().hasSpell("blink");

commented

You can now use Mage.hasSpell