Jump to content

Recommended Posts

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

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:

1
Var:

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

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
×
×
  • Create New...