chinavirgin 0 Report post Posted February 1, 2017 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 0 Share this post Link to post Share on other sites
Gregory 1 Report post Posted February 2, 2017 (edited) Not possible in vanilla to check if it yours [de]buff or not. Edited February 2, 2017 by Gregory 0 Share this post Link to post Share on other sites
chinavirgin 0 Report post Posted March 8, 2017 В 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) 0 Share this post Link to post Share on other sites
Gregory 1 Report post Posted April 13, 2017 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. 0 Share this post Link to post Share on other sites