April 20, 201411 yr Hi Guys, I'm looking for a method to add the Cleanse-ability into my Retribution rotation. Since there are no 'Affected by poison' or 'Affected by Disease' conditions available, does anyone know if there's a way ? Maybe with the help of LUA ? Thanks in advance ! Illvision
April 21, 201411 yr Hello, You need to check buff of your character, if your character has an poison spell buff you launch Cleanse. You can use this lua condition to detect quickly poison: LuaScript:local idBuffs={13750,5004,433,121279,20572} for key,value in pairs(idBuffs) do for i=1,40 do local name, _, _, _, _, _, _, _, _, _, spellId = UnitBuff("player", i) if (value==spellId) then result=1 return; end end end result=0 Research:1Var:result Replace spells id 13750,5004,433,121279,20572 by poison spells id.
Create an account or sign in to comment