Im using a code for prevent instant spells using one spell but how can i make it to use other if that one is on cooldown? (im using on wotlk patch)
Code:if spellName == "Spell" and unitCaster == "target" then CastSpellByName("Antispell")
Im using a code for prevent instant spells using one spell but how can i make it to use other if that one is on cooldown? (im using on wotlk patch)
Code:if spellName == "Spell" and unitCaster == "target" then CastSpellByName("Antispell")
Last edited by gladoglad; 02-25-2014 at 05:03 PM.
Tried this but didnt work.
Code:cast PQR_SpellAvailable(64205) then return true elseif PQR_SpellAvailable(6940) then
You're going to be banned in the next wave for starting pqr and using it
if UnitCastingInfo("target") == "spellname" then
CastSpellByName("Antispell")
end
if you wanted to check a lot of spells
local delayList = {118000,114030,46924,12328,3411,5246,676,6343,34428}
for i=1,#delayList do
if UnitCastingInfo("target") == i then
CastSpellByName("Antispell")
end
end
if you cant figure it out from this, read code from profiles. wowprogramming.com
Last edited by averykey; 02-26-2014 at 07:59 PM.
My Svn - https://subversion.assembla.com/svn/averykeys-svn/
Bump, someone can help me please?