Originally Posted by
xnerdx
I would have to say your script would have to be written in C++ because the LUA Engines don't support any commands like that
*facepalm*
Anyway,
Code:
function BossThree_f(Unit, Event)
if Unit:GetHealthPct() <= 12 then
Unit:RemoveEvents()
Unit:CastSpellOnTarget(5,Unit:GetRandomFriend())
Unit:CastSpellOnTarget(05,Unit:GetRandomFriend())
Unit:CastSpellOnTarget(5,Unit:GetRandomFriend())
Unit:SetCombatCapable(1)
Unit:SetFaction(35)
Unit:SetHealthPct(99)
mate:SetHealthPct(1)
Unit:SendChatMessage(10, 0, "The Curse is Broken, Hadronixx Lifts His Fangs and Slams them into the Neck of His Mate")
Unit:FullCastSpellOnTarget(11, mate)
Unit:CastSpellOnTarget(5,mate)
Unit:SendChatMessage(14, 0, "STOP PLEASE!")
Unit:RegisterEvent("Boss_TalkStart4", 3200, 0)
end
end
Death touch does not work when a npc casts it for some reason, don't ask me why.