Jump to content
chinavirgin

CoA Corruption 1 button macro

Recommended Posts

Hello Warlocks , i need  to use CoA and Corruption on 1 button in turn 

I tried - castsequence reset , but its dont work yet 

then i find  " /script if DoT_DetermineSpell("Curse of Agony") then CastSpellByName("Corruption()") end " this works with DoTimer but if  creep got same debuffs from another warlock thats gives an error message 

need help 

 

Share this post


Link to post
Share on other sites

 

В 02.02.2017 в 04:13, Gregory сказал:

Not possible in vanilla to check if it yours [de]buff or not.

possible , i make this macro

/script if DoT_IsPSpell("Corruption") then CastSpellByName("Curse of Agony()") end
 

works just with  (Dotimer)

Share this post


Link to post
Share on other sites

From DoTimer documentation:

DoTimer defines several functions written specifically for macros.  One is called DoT_IsPSpell("spellname").  What it does is lets you test your current target for a specified debuff, and the function will return true if it is on your mob, if not, it'll return false and cast it for you.  This differs from other functions in that it looks ONLY at your own debuffs, not any from other people!  So there can be 15 corruptions on the target, but if none are yours, it'll return false.  See below for sample macros using this command =]  Note that it bases its judgment on if you have a timer running, so in hectic situations, it may not be completely accurate.  If you're farming solo, it is not a bad idea to just use the next function, not this one. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×