And all i could find was this from the wiki , but im not sure how to implement it and where in the profile.
Code: Select all
local target = player:getTarget();
target:updateBuffs()
if target:hasDebuff("debuffname") then
and the same goes for curses druid uses Purify, Priest use Cleanse ? or is it Remove Curse.
so if i understand the code snippet would be something like this?
Code: Select all
local target = player:getTarget();
target:updateBuffs()
if target:hasDebuff("debuffname") then PRIEST_CLEANSE