Illvision 1 Posted April 20, 2014 Share Posted April 20, 2014 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 Link to comment https://wrobot.eu/forums/topic/1340-cleanse-for-paladin/ Share on other sites More sharing options...
Droidz 2738 Posted April 21, 2014 Share Posted April 21, 2014 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. Link to comment https://wrobot.eu/forums/topic/1340-cleanse-for-paladin/#findComment-7169 Share on other sites More sharing options...
Illvision 1 Posted April 21, 2014 Author Share Posted April 21, 2014 Thanks so much Droidz. I'll let you know if this does the trick. Droidz 1 Link to comment https://wrobot.eu/forums/topic/1340-cleanse-for-paladin/#findComment-7172 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now