View Single Post
06-25-19, 09:52 AM   #4
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 158
Guys thanks, I did not know about these two API calls.

However both IsSpellKnown(213771) and IsPlayerSpell(213771) (Swipe) return false, even when I know the spell and have just casted it!

I have also noticed that the API call IsUsableSpell() works fine for other spells, eg:

local playerSpellBarkskinUseable = IsUsableSpell("Barkskin");

which correctly returns "true" on my 120 druid and "false" on my level 23 druid.

I have not tried those two functions on "Barkskin" to see how they perform since the "IsUsableSpell" works as intended.
  Reply With Quote