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.