Code:
// Blukkie Productions
// AC-Web.org - ascentemu.com
//
// Necropolis Naxxramas // Plague Wing
// NOTH THE PLAGUEBRINGER
global Noth_Kill_target = function(mob)
{
.PlaySoundToSet(8850);
.SendChatMessage("Breathe no more.");
};
.RegisterUnitEvent(15954, 3, Noth_Kill_target);
global Noth_Death = function(mob)
{
.PlaySoundToSet(8848);
.SendChatMessage("I will serve the master... In... Death.");
.DeregisterTimer();
};
.RegisterUnitEvent(15954, 4, Noth_Death);
global Noth_Leavecombat = function(mob)
{
.PlaySoundToSet(8846);
.SendChatMessage("My task is done.");
.DeregisterTimer();
};
.RegisterUnitEvent(15954, 2, Noth_Leavecombat);
global Noth_CurseofthePlaguebringer = function(mob)
{
.PlaySoundToSet(8846);
.CastSpell(29213);
.SendChatMessage("Your life is forfeit.");
};
global Noth_Cripple = function(mob)
{
.CastSpell(29212);
};
global Noth_SkeletonSpawn = function(mob)
{
.CastSpell(29217);
.PlaySoundToSet(8851);
.SendChatMessage("Rise my soldiers! Rise, and fight once more!");
.SpawnMonster(16984, 2696.267334, -3510.556641, 261.271851);
.SpawnMonster(16984, 2693.105957, -3493.869141, 261.356842);
.SpawnMonster(16984, 2676.482666, -3493.460693, 261.346649);
};
global Noth_WaveOneOne = function(mob)
{
.CreateWaypoint(2632.444824, -3529.760254, 274.036957, 0.020416, 70000, 256, 0);
.MoveToWaypoint(1);
.SetCombatCapable(1);
.PlaySoundToSet(8851);
.SendChatMessage("Rise my soldiers! Rise, and fight once more!");
.SpawnMonster(16983, 2696.267334, -3510.556641, 261.271851); //Champions
.SpawnMonster(16983, 2693.105957, -3493.869141, 261.356842);
.SpawnMonster(16983, 2676.482666, -3493.460693, 261.346649);
};
global Noth_WaveOneTwo = function(mob)
{
.CreateWaypoint(2684.711670, -3502.425049, 261.398682, 0.020416, 0, 256, 0);
.MoveToWaypoint(2);
.SetCombatCapable(0);
.SpawnMonster(16983, 2696.267334, -3510.556641, 261.271851); //Champions
.SpawnMonster(16983, 2693.105957, -3493.869141, 261.356842);
.SpawnMonster(16983, 2676.482666, -3493.460693, 261.346649);
};
global Noth_WaveTwoOne = function(mob)
{
.MoveToWaypoint(1);
.SetCombatCapable(1);
.PlaySoundToSet(8851);
.SendChatMessage("Rise my soldiers! Rise, and fight once more!");
.SpawnMonster(16983, 2696.267334, -3510.556641, 261.271851); //Champions
.SpawnMonster(16983, 2693.105957, -3493.869141, 261.356842);
.SpawnMonster(16983, 2676.482666, -3493.460693, 261.346649);
.SpawnMonster(16981, 2684.711670, -3502.425049, 261.398682); //Guardians
.SpawnMonster(16981, 2701.123779, -3502.425049, 261.319794);
.SpawnMonster(16981, 2684.720459, -3521.795898, 261.201324);
};
global Noth_WaveTwoTwo = function(mob)
{
.MoveToWaypoint(2);
.SetCombatCapable(0);
.SpawnMonster(16983, 2696.267334, -3510.556641, 261.271851); //Champions
.SpawnMonster(16983, 2693.105957, -3493.869141, 261.356842);
.SpawnMonster(16983, 2676.482666, -3493.460693, 261.346649);
.SpawnMonster(16981, 2684.711670, -3502.425049, 261.398682); //Guardians
.SpawnMonster(16981, 2701.123779, -3502.425049, 261.319794);
.SpawnMonster(16981, 2684.720459, -3521.795898, 261.201324);
};
global Noth_WaveThreeOne = function(mob)
{
.MoveToWaypoint(1);
.SetCombatCapable(1);
.PlaySoundToSet(8851);
.SendChatMessage("Rise my soldiers! Rise, and fight once more!");
.SpawnMonster(16981, 2684.711670, -3502.425049, 261.398682); //Guardians
.SpawnMonster(16981, 2701.123779, -3502.425049, 261.319794);
.SpawnMonster(16981, 2684.720459, -3521.795898, 261.201324);
};
global Noth_WaveThreeTwo = function(mob)
{
.MoveToWaypoint(2);
.SetCombatCapable(0);
.SpawnMonster(16981, 2684.711670, -3502.425049, 261.398682); //Guardians
.SpawnMonster(16981, 2701.123779, -3502.425049, 261.319794);
.SpawnMonster(16981, 2684.720459, -3521.795898, 261.201324);
};
global Noth_EnterCombat = function(mob)
{
.CreateCustomWaypointMap();
.SetMovementType(11);
.PlaySoundToSet(8845);
.CastSpell(29213);
.SendChatMessage("Glory to the master!");
.RegisterTimer(50000, Noth_CurseofthePlaguebringer, 0);
.RegisterTimer(20100, Noth_Cripple, 0);
.RegisterTimer(30000, Noth_SkeletonSpawn, 0);
.RegisterTimer(90000, Noth_WaveOneOne, 1);
.RegisterTimer(110000, Noth_WaveOneTwo, 1);
.RegisterTimer(180000, Noth_WaveTwoOne, 1);
.RegisterTimer(220000, Noth_WaveTwoTwo, 1);
.RegisterTimer(310000, Noth_WaveThreeOne, 1);
.RegisterTimer(330000, Noth_WaveThreeTwo, 1);
};
.RegisterUnitEvent(15954, 1, Noth_EnterCombat);
global PlaguedGuardian_death = function(mob)
{
.DeregisterTimer();
.Despawn(1000, 0);
};
.RegisterUnitEvent(16981, 4, PlaguedGuardian_death);
global PlaguedGuardian = function(mob)
{
.CastSpell(35124);
};
global Guardian_Timer = function(mob)
{
.RegisterTimer(5000, PlaguedGuardian, 0);
};
.RegisterUnitEvent(16981, 1, Guardian_Timer);
global PlaguedChampion_death = function(mob)
{
.DeregisterTimer();
.Despawn(1000, 0);
};
.RegisterUnitEvent(16983, 4, PlaguedChampion_death);
global PlaguedChampion = function(mob)
{
.CastSpel(40505);
};
global Champion_Timer = function(mob)
{
.RegisterTimer(6000, PlaguedChampion, 0);
};
.RegisterUnitEvent(16983, 1, Champion_Timer);
global PlaguedWarrior_death = function(mob)
{
.Despawn(1000, 0);
};
.RegisterUnitEvent(16984, 4, PlaguedWarrior_death);