Code:
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() < 83 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (11, 0, "So you can fight, Lets see how you hand my first Minion, Go Nalham destroy the intruders!")
pUnit:FullCastSpell(40428)
pUnit:SpawnCreature(75010,5202.161133,-571.880554,289.169220,1,1771,300000)
pUnit:RegisterEvent("Phase_2",10000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() < 67 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (11, 0, "You try my patience intruders! You have forced me to call uppon my voidwalker, May he rip you to Shredds!")
pUnit:FullCastSpell(40428)
pUnit:SpawnCreature(75011,5202.161133,-571.880554,289.169220,1,1771,300000)
pUnit:RegisterEvent("Phase_3",10000, 0)
end
end
function Phase_3(pUnit, Event)
if pUnit:GetHealthPct() < 51 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (11, 0, "So you refuse to die even still??, Then i have no choice but to releash the Hound on you all, may you suffer an aggonizing Death!")
pUnit:FullCastSpell(40428)
pUnit:SpawnCreature(75012,5202.161133,-571.880554,289.169220,1,1771,300000)
pUnit:RegisterEvent("Phase_4",10000, 0)
end
end
function Phase_4(pUnit, Event)
if pUnit:GetHealthPct() < 35 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (12, 0, "Come my Infernal! Turn these intruders to dust!")
pUnit:FullCastSpell(40428)
pUnit:SpawnCreature(75013,5202.161133,-571.880554,289.169220,1,1771,300000)
pUnit:RegisterEvent("Phase_5",10000, 0)
end
end
function Phase_5(pUnit, Event)
if pUnit:GetHealthPct() < 19 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (12, 0, "You are forcing your own doom!")
pUnit:FullCastSpell(40428)
pUnit:SpawnCreature(75014,5202.161133,-571.880554,289.169220,1,1771,300000)
pUnit:RegisterEvent("Phase_6",10000, 0)
end
end
function Phase_6(pUnit, Event)
if pUnit:GetHealthPct() < 3 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (12, 0, "Now you have Angered me! If you so please i shall show you the Power of Grand Summoner Jul'Z!!")
pUnit:FullCastSpell(40428)
pUnit:FullCastSpell(20620)
pUnit:SpawnCreature(75015,5202.161133,-571.880554,289.169220,1,1771,450000)
pUnit:RegisterEvent("Phase_1a",10000, 0)
end
end
function Phase_1a(pUnit, Event)
if pUnit:GetHealthPct() < 50 then
pUnit:RemoveEvents();
pUnit:SummonCreature(75016,5202.161133,-571.880554,289.169220,1,1771,600000)
pUnit:SendChatMessage(12,0,"Now You Meet my Greatest Creation, and he WILL make Meat of you ALL!!!")
end
end
function GSJul'z_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Phase_1",10000, 0)
pUnit:SendChatMessage (11, 0, "What is this? More sacrifices to the Demonic? Wonderful you will work perfectly.")
end
RegisterUnitEvent(75001, 1, "GSJul'z_OnCombat")
the summoned monsters are supposed to spawn inside shadow hold in felwood in the room with the altar and stuff, just if you are wondering not sure what to do with the "o" part so i put 1, i dont know if its important.