hi i'm trying to check for spell cooldown with
GetSpellCooldown(49)
but it always come back with the nil
i try GetSpellInfo(49) but i get the same..
did they disable this or something? i see many other people using this macro outside of elysium
a macro for spell lock to put in my spam hammer all button. dont think its possible because UnitCastingInfo() and UnitChannelingInfo() doesnt seem to be in the 1.12 API
Here i had to change "spell" to "pet" because its the spell of my Felhunter
/run local i,a,sn sn="Spell Lock" i=0 while a~=sn do i=i+1 a=GetSpellName(i,"pet")end DEFAULT_CHAT_FRAME:AddMessage(GetSpellCooldown(i,"pet") or "nil")
making progress
yes thank you very much.. i wish this form had a search function i'd found your post a lot easier
any idea of the syntax for UnitCastingInfo("target") and UnitChannelInfo("target") ?
thanks