Code:
----------[Minion Scripts]-----------------
~~~Soilder of the Frozen Wastes~~~
function SoilderoftheFrozenWastes_OnEnterCombat(pUnit,Event)
pUnit:RegisterEvent("SoilderoftheFrozenWastes_Spell", 5000,1)
end
function SoilderoftheFrozenWastes_Spell(pUnit,Event)
pUnit:FullCastSpellOnTarget(28457,pUnit:GetClosestPlayer())
end
RegisterUnitEvent(16427, 1, "SoilderoftheFrozenWastes_OnEnterCombat")
~~~Unstoppable Abomination~~~
function UnstoppableAbomination_OnEnterCombat(pUnit,Event)
pUnit:RegisterEvent("UnstoppableAbomination_Spell1", 5000,1)
end
function UnstoppableAbomination_Spell1(pUnit,Event)
pUnit:FullCastSpellOnTarget(25646,pUnit:GetClosestPlayer())
end
RegisterUnitEvent(16428, 1, "UnstoppableAbomination_OnEnterCombat")
~~~Soul Weaver~~~
function SoulWeaver_OnEnterCombat(pUnit,Event)
pUnit:RegisterEvent("SoulWeaver_Spell2", 25000,1)
end
function SoulWeaver_Spell2(pUnit,Event)
pUnit:FullCastSpellOnTarget(28459,pUnit:GetClosestPlayer())
end
RegisterUnitEvent(16429, 1, "SoulWeaver_OnEnterCombat")
~~~Guardian of Icecrown~~~
function GuardianofIcecrown_OnEnterCombat(pUnit,Event)
pUnit:RegisterEvent("GuardianofIcecrown_Spell3", 25000,1)
end
function GuardianofIcecrown_Spell3(pUnit,Event)
pUnit:FullCastSpellOnTarget(28470,pUnit:GetClosestPlayer())
end
RegisterUnitEvent(16441, 1, "GuardianofIcecrown_OnEnterCombat")
----------------------Kel'Thuzad Script iteslf-------------------------------
function KelThuzad_Died (pUnit, Event)
pUnit:RegisterEvent("KelThuzad_Died", 10000,4)
pUnit:SendChatMessage(5, 0, "AAAAGHHH!... Do not rejoice... your victory is a hollow one... for I shall return with powers beyond your imagining! ")
function KelThuzad_Phase1 (pUnit, Event)
pUnit:SendBroadcastMessage(You have engaged the Kel'Thuzad fight!)
pUnit:SendChatMessage(5, 0, "Minions, servants, soldiers of the cold dark, obey the call of Kel'Thuzad!")
pUnit:SetCombatCapable(1)
pUnit:Despawn(0, 280000)
pUnit:RegisterEvent("O'Brien_Phase2")
pUnit:RegisterEvent("O'Brien_Phase3")
end
function KelThuzad_KilledTarget (pUnit, Event)
pUnit:SendChatMessage(5, 0, "The dark void awaits you!")
end
-------------Phase 1------------------
Kel'Thuzad is invulnerable, and you need kill adds which come from the seven cubbies.
* Soldier of the Frozen Wastes - Casts Dark Blast when it touches an enemy unit causing 3063 to 3937 shadow damage to the raid and will kill the Soldier itself. Dark Blast is not partially resistible. Surprisingly, these are able to be shackled. Slow move speed. 1,600 hit points. 71 will attack through phase one, though more may be pulled accidentally.
* Unstoppable Abomination - Periodically applies Mortal Wound, a stacking "-10% healing received" debuff to its target. It will randomly choose one melee range target, so multiple tanks work best for this mob. They spawn progressively faster as phase 2 approaches, they must be killed as fast as possible to avoid having multiple abominations up when Kel'Thuzad becomes active. ~75,000 hit points. Normal run speed. Eight will attack through phase one, though more may be pulled accidentally or intentionally for achievements. Hits for ~4,000 on plate, mortal wounds for 6,000.
* Soul Weaver - Wail of Souls Inflicts 6375–8625 shadow damage and does a 30 yard knock-back that hits 3 players. It will only do this attack when it is near its primary aggro target. ~55,000 hit points. Slow movement speed. Eight will attack through phase one, though more may be pulled accidentally.
function KelThuzad_Phase1 (pUnit, Event)
pUnit:SendBroadcastMessage(The battle for Azeroth has begun!)
pUnit:SendChatMessage(5, 0, "Minions, servants, soldiers of the cold dark, obey the call of Kel'Thuzad!")
pUnit:SetCombatCapable(1)
pUnit:Despawn(0, 280000)
x=GetX();
y=GetY();
z=GetZ();
o=GetO();
pUnit:SpawnCreature(16427, x,+7 y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16427, x+6, y,+1 z, 0, 20, 0)
pUnit:SpawnCreature(16427, x-10, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16427, x-8, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16427, x-2, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16427, x,+7 y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16427, x+6, y,+1 z, 0, 20, 0)
pUnit:SpawnCreature(16427, x-10, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16427, x-8, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16427, x-2, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x+13, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x-10, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x+13, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x-13, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x-14, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x+9, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x-15, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x-14, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16428, x+11, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16429, x+13, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16429, x+12, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16429, x+25, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16429, x+16, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16429, x+27, y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16429, x+14, y+1, z, 0, 20, 0)
pUnit:RegisterEvent("O'Brien_Phase2")
pUnit:RegisterEvent("O'Brien_Phase3")
end
------------------------Phase 2--------------------------
~Stage 2 begins 3 minutes and 48 seconds after you engage Kel'Thuzad. He becomes active, and has approximately 5,660,000 hit points.
* Frost bolt single 2 second cast. Inflicts 10063–12937 Frost damage to primary aggro target and reduces its movement speed for 4 sec. This spell is not reflectable via Warrior Spell Reflection.
* Frost bolt multiple Inflicts 4500–5500 Frost damage and reduces the targets' movement speed for 4 sec. Hits everyone in the room and cannot be interrupted - it is instant cast. Used every 15 secs. Fully resistible.
* Mana Detonation A debuff randomly applied to a mana using player. The player will explode after 5 seconds, burn 2000 mana and deal 10,000 damage to all players within 10 yards of him (not to himself).
* Shadow Fissure Summons a very noticeable red fissure around the targeted player which does 62500–137500 shadow damage after 5 seconds as Void Blast. Easily avoidable by running out of the fissure.
* Frost Blast Places an Ice Block effect on the targeted player, and all players within 10 yards, rendering them unable to perform any action. This effect will continue to chain to anyone within 10 yards of anyone affected as with C'thun's Eye Beam. It will deal 104% of their maximum HP in damage over 4 seconds. If those affected are not healed within 4 seconds they will die. ~
function KelThuzad_Phase2(pUnit,Event)
pUnit:RegisterEvent("KelThuzad_Frostbolt1", 30000,1)
pUnit:RegisterEvent("KelThuzad_frostbolt2", 15000,1)
pUnit:RegisterEvent("KelThuzad_ManaDetonation", 22500,1)
pUnit:RegisterEvent("KelThuzad_"ShadowFissure", 17500,1)
pUnit:RegisterEvent("KelThuzad_FrostBlast", 53500,1)
pUnit:RegisterEvent("KelThuzad_ChainsofKelthuzad", 105000,1)
Choice=math.random(1,3)
if Choice==1 then
pUnit:SendChatMessage(14, 0, "Pray for mercy!")
end
if Choice==2 then
pUnit:SendChatMessage(14, 0, "Scream your dying breath!")
end
if Choice==3 then
pUnit:SendChatMessage(14, 0, "The end is upon you!")
end
end
end
function KelThuzad_frostbolt2(pUnit,Event)
pUnit:FullCastSpellOnTarget(28479,pUnit:GetClosestPlayer())
end
function KelThuzad_Frostbolt1(pUnit,Event)
pUnit:FullCastSpellOnTarget(28478,pUnit:GetMainTank())
end
function KelThuzad_ManaDetonation(pUnit,Event)
pUnit:FullCastSpellOnTarget(27819,pUnit:GetClosestPlayer())
Choice=math.random(1,2)
if Choice==1 then
pUnit:SendChatMessage(14, 0, "Your petty magics ar no challenge to the might of the Scourge!")
end
if Choice==2 then
pUnit:SendChatMessage(14, 0, "Enoug! I grow tired of these distractions!")
end
end
function KelThuzad_ShadowFissure(pUnit,Event)
pUnit:FullCastSpellOnTarget(27810,pUnit:GetClosestPlayer())
end
function KelThuzad_FrostBlast(pUnit,Event)
pUnit:FullCastSpellOnTarget(27808,pUnit:GetClosestPlayer())
pUnit:SendChatMessage(14, 0, "I will freeze the blood in your veins!")
end
function KelThuzad_ChainsofKelthuzad(pUnit,Event)
pUnit:FullCastSpellOnTarget(28410,pUnit:GetClosestPlayer())
Choice=math.random(1,3)
if Choice==1 then
pUnit:SendChatMessage(14, 0, "Your soul, is bound to me now!")
end
if Choice==2 then
pUnit:SendChatMessage(14, 0, "There will be no escape!")
end
end
-----------------Phase 3-----------------------------------
~At 45% health, Phase Three will begin as Kel'Thuzad calls for aid and the Lich King sends two Nerubian Crypt Lords known as the Guardians of Icecrown to attack the raid.
* Guardian of Icecrown - These have as much HP as Kel'Thuzad (combined) with the ability: Blood Tap. Which is a self buff that does +15% all damage, + 10% size and can stack up to 99 times. The Guardians will flee when Kel'Thuzad dies. Immune to CC. The Guardians stack Blood Tap every ~15 seconds and it hits their aggro target for ~3,000. They hit for ~2,000 on plate to start but this increases rapidly over time.~
function KelThuzad_Phase3 (pUnit, Event)
if pUnit:GetHealthPct() < 45 then
pUnit:SendChatMessage(5, 0, "Master! I require aid!")
pUnit:SendBroadcastMessage(Very well... warriors of the frozen wastes, rise up! I command you to fight, kill, and die for your master. Let none survive...")
x=GetX();
y=GetY();
z=GetZ();
o=GetO();
pUnit:SpawnCreature(16441, x,+7 y+1, z, 0, 20, 0)
pUnit:SpawnCreature(16441, x,+7 y+1, z, 0, 20, 0)
end
end
RegisterUnitEvent(15990, 1, "KelThuzad_OnEnterCombat")
RegisterUnitEvent(15990, 4, "KelThuzad_Died")
RegisterUnitEvent(15990, 3, "KelThuzad_KilledTarget")
RegisterUnitEvent(15990, 2, "KelThuzad_OnLeaveCombat")
Description of the fight: