function Arthas_Spell1(Unit)
Unit:FullCastSpell(31984,Unit:GetClosestPlayer())
end
function Arthas_Spell2(Unit)
Unit:FullCastSpell(41078,Unit:GetClosestPlayer())
end
function Arthas_Spell3(Unit)
Unit:FullCastSpell(38533,Unit:GetClosestPlayer())
end
function Arthas_Phase1(Unit)
if Unit:GetHealthPct() < 95 then
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "Finger...Of Death!")
Unit:RegisterEvent("Arthas_Spell(1)",8000, 0)
Unit:RegisterEvent("Arthas_Phase2",1000, 0)
end
end
function Arthas_Phase2(Unit)
if Unit:GetHealthPct() < 85 then
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "Shadow power always hided for me... Now I seek, and I find what I seek!")
Unit:RegisterEvent("Arthas_Spell(2)",8000, 0)
Unit:RegisterEvent("Arthas_Phase2",1000, 0)
end
end
function LichKing_UtherEvent_1(Unit)
if Unit:GetHealthPct() <50
Unit:SendChatMessage(12, 0, "Enough of this, mortals!")
Unit:SpawnCreature(entryID, x, y, z, o, faction, duration)
RegisterEvent(1000, 1, "LichKing_UtherEvent_2")
end
end
function LichKing_UtherEvent_2(unit)
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "Uther... This aint possible! How dare you to come here alone!?")
RegisterEvent(1000, 1, "LichKing_UtherEvent_3")
end
end
function LichKing_UtherEvent_3(unit)
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "I've had... enough of this! You shall fall, in the name of The Lich King!")
end
end
function Arthas_Phase3(Unit)
if Unit:GetHealthPct() < 35 then
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "Shh... Let the shadows burn quiet into the bone!")
Unit:RegisterEvent("Arthas_Spell(3)",8000, 0)
Unit:RegisterEvent("Arthas_Phase2",1000, 0)
end
end
function Arthas_Phase4(Unit)
If Unit:GetHealthPct() < 10 then
Unit:SpawnCreature(6660661, x, y, z, o, faction, duration)
Unit:SpawnCreature(6660662, x, y, z, o, faction, duration)
Unit:SpawnCreature(6660663, x, y, z, o, faction, duration)
Unit:SendChatMessage(12, 0, "Come Memebers of The Scourge, And Rip these Mortal's Souls Apart!")
end
end
function Arthas_OnCombat
Unit:SendChatMessage(12, 0, "You got no chance against The Lich King! Now, face my wrath!")
Unit:RegisterEvent(5000, 1, "Arthas_Phase1")
end
function Arthas_OnKill
Unit:SendChatMessage(12, 0, "Your soul is captured...")
Unit:CastSpell(21054)
Unit:CastSpell(21054)
Unit:CastSpell(21054)
Unit:CastSpell(21054)
Unit:CastSpell(21054)
Unit:CastSpell(21054)
Unit:CastSpell(21054)
Unit:CastSpell(21054)
end
function Arthas_Death
Unit:SendChatMessage(12, 0, "My soul... Will rest... In the deepest of hell...")
end
RegisterUnitEvent(6660660, 1, "Arthas_OnCombat")
RegisterUnitEvent(6660660, 3, "Arthas_OnKill")
RegisterUnitEvent(6660660, 4, "Arthas_Death")
end
function Uther_Spawn(unit)
Unit:SendChatMessage(12, 0, "Enough of what? You're giving up that easly?")
Unit:RegisterEvent(1000, 0, "Uther_Spawn_2")
end
function Uther_Spawn_2(unit)
Unit:SendChatMessage(12, 0, "I'm not alone, Arthas, you should've seen that allready.")
Unit:RegisterEvent(1000, 0, "Uther_Spawn_3")
end
function Uther_Spawn_3(unit)
Unit:SendChatMessage(12, 0, "You've lost controll, Arthas, I never expected this to happen... But as you which... Charge!")
end
RegisterUnitEvent(<idForUther>, 6, "Uther_Spawn")
end