Ive been looking for a spirit healer script that revives & removes your rez sickness. I couldnt find anything.
Ive made this LUA script that should work:
Code:
local npcid = 6491
function Healer_OnGossipTalk(pUnit, event, player, pMisc)
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(2, "Revive Me!", 3, 0)
pUnit:GossipSendMenu(player)
end
end
function Healer_OnGossip_select(pUnit, event, player, id, intid, code)
if(intid == 3) then
local plr = pUnit:GetClosestPlayer()
plr:RemoveAura(8326)
plr:RemoveAura(9036)
plr:RemoveAura(20584)
plr:RemoveAura(15007)
player:SendAreaTriggerMessage("You have been Revived!")
end
intid = 0
end
RegisterUnitGossipEvent(6491,1,"Healer_OnGossipTalk")
RegisterUnitGossipEvent(6491,2,"Healer_OnGossip_select")
Im not too sure how to adjust the Spirit Healer to run the script though. So when i click the healer nothing happens? Should i just make a custom healer to replace the old one?