Jump to content

How to check cast spell?

ToShuk Marusenko

Recommended Posts

GetCurrentSpell returns a Spell object, not a number.

You should check if a spell object is not nil and if it is not nil then use GetEntry() on it and compare that value to 71.


See how the documentation http://www.elunaengine.com/Unit/GetCurrentSpell.html says:
Spell castedSpell

If it would be a number it would tell you that it is a number and not a Spell.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use