Advertisement
stoneharry

Untitled

Feb 8th, 2014
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1. // ************ - ascentemu.com
  2. //
  3. // Necropolis Naxxramas // Plague Wing
  4. // NOTH THE PLAGUEBRINGER
  5.  
  6.  
  7. global Noth_Kill_target = function(mob)
  8. {
  9. .PlaySoundToSet(8850);
  10. .SendChatMessage("Breathe no more.");
  11. };
  12. .RegisterUnitEvent(15954, 3, Noth_Kill_target);
  13.  
  14. global Noth_Death = function(mob)
  15. {
  16. .PlaySoundToSet(8848);
  17. .SendChatMessage("I will serve the master... In... Death.");
  18. .DeregisterTimer();
  19. };
  20. .RegisterUnitEvent(15954, 4, Noth_Death);
  21.  
  22. global Noth_Leavecombat = function(mob)
  23. {
  24. .PlaySoundToSet(8846);
  25. .SendChatMessage("My task is done.");
  26. .DeregisterTimer();
  27. };
  28. .RegisterUnitEvent(15954, 2, Noth_Leavecombat);
  29.  
  30. global Noth_CurseofthePlaguebringer = function(mob)
  31. {
  32. .PlaySoundToSet(8846);
  33. .CastSpell(29213);
  34. .SendChatMessage("Your life is forfeit.");
  35. };
  36.  
  37. global Noth_Cripple = function(mob)
  38. {
  39. .CastSpell(29212);
  40. };
  41.  
  42. global Noth_SkeletonSpawn = function(mob)
  43. {
  44. .CastSpell(29217);
  45. .PlaySoundToSet(8851);
  46. .SendChatMessage("Rise my soldiers! Rise, and fight once more!");
  47. .SpawnMonster(16984, 2696.267334, -3510.556641, 261.271851);
  48. .SpawnMonster(16984, 2693.105957, -3493.869141, 261.356842);
  49. .SpawnMonster(16984, 2676.482666, -3493.460693, 261.346649);
  50. };
  51.  
  52. global Noth_WaveOneOne = function(mob)
  53. {
  54. .CreateWaypoint(2632.444824, -3529.760254, 274.036957, 0.020416, 70000, 256, 0);
  55. .MoveToWaypoint(1);
  56. .SetCombatCapable(1);
  57. .PlaySoundToSet(8851);
  58. .SendChatMessage("Rise my soldiers! Rise, and fight once more!");
  59. .SpawnMonster(16983, 2696.267334, -3510.556641, 261.271851); //Champions
  60. .SpawnMonster(16983, 2693.105957, -3493.869141, 261.356842);
  61. .SpawnMonster(16983, 2676.482666, -3493.460693, 261.346649);
  62. };
  63.  
  64. global Noth_WaveOneTwo = function(mob)
  65. {
  66. .CreateWaypoint(2684.711670, -3502.425049, 261.398682, 0.020416, 0, 256, 0);
  67. .MoveToWaypoint(2);
  68. .SetCombatCapable(0);
  69. .SpawnMonster(16983, 2696.267334, -3510.556641, 261.271851); //Champions
  70. .SpawnMonster(16983, 2693.105957, -3493.869141, 261.356842);
  71. .SpawnMonster(16983, 2676.482666, -3493.460693, 261.346649);
  72. };
  73.  
  74. global Noth_WaveTwoOne = function(mob)
  75. {
  76. .MoveToWaypoint(1);
  77. .SetCombatCapable(1);
  78. .PlaySoundToSet(8851);
  79. .SendChatMessage("Rise my soldiers! Rise, and fight once more!");
  80. .SpawnMonster(16983, 2696.267334, -3510.556641, 261.271851); //Champions
  81. .SpawnMonster(16983, 2693.105957, -3493.869141, 261.356842);
  82. .SpawnMonster(16983, 2676.482666, -3493.460693, 261.346649);
  83. .SpawnMonster(16981, 2684.711670, -3502.425049, 261.398682); //Guardians
  84. .SpawnMonster(16981, 2701.123779, -3502.425049, 261.319794);
  85. .SpawnMonster(16981, 2684.720459, -3521.795898, 261.201324);
  86. };
  87.  
  88. global Noth_WaveTwoTwo = function(mob)
  89. {
  90. .MoveToWaypoint(2);
  91. .SetCombatCapable(0);
  92. .SpawnMonster(16983, 2696.267334, -3510.556641, 261.271851); //Champions
  93. .SpawnMonster(16983, 2693.105957, -3493.869141, 261.356842);
  94. .SpawnMonster(16983, 2676.482666, -3493.460693, 261.346649);
  95. .SpawnMonster(16981, 2684.711670, -3502.425049, 261.398682); //Guardians
  96. .SpawnMonster(16981, 2701.123779, -3502.425049, 261.319794);
  97. .SpawnMonster(16981, 2684.720459, -3521.795898, 261.201324);
  98. };
  99.  
  100. global Noth_WaveThreeOne = function(mob)
  101. {
  102. .MoveToWaypoint(1);
  103. .SetCombatCapable(1);
  104. .PlaySoundToSet(8851);
  105. .SendChatMessage("Rise my soldiers! Rise, and fight once more!");
  106. .SpawnMonster(16981, 2684.711670, -3502.425049, 261.398682); //Guardians
  107. .SpawnMonster(16981, 2701.123779, -3502.425049, 261.319794);
  108. .SpawnMonster(16981, 2684.720459, -3521.795898, 261.201324);
  109. };
  110.  
  111. global Noth_WaveThreeTwo = function(mob)
  112. {
  113. .MoveToWaypoint(2);
  114. .SetCombatCapable(0);
  115. .SpawnMonster(16981, 2684.711670, -3502.425049, 261.398682); //Guardians
  116. .SpawnMonster(16981, 2701.123779, -3502.425049, 261.319794);
  117. .SpawnMonster(16981, 2684.720459, -3521.795898, 261.201324);
  118. };
  119.  
  120.  
  121. global Noth_EnterCombat = function(mob)
  122. {
  123. .CreateCustomWaypointMap();
  124. .SetMovementType(11);
  125. .PlaySoundToSet(8845);
  126. .CastSpell(29213);
  127. .SendChatMessage("Glory to the master!");
  128. .RegisterTimer(50000, Noth_CurseofthePlaguebringer, 0);
  129. .RegisterTimer(20100, Noth_Cripple, 0);
  130. .RegisterTimer(30000, Noth_SkeletonSpawn, 0);
  131. .RegisterTimer(90000, Noth_WaveOneOne, 1);
  132. .RegisterTimer(110000, Noth_WaveOneTwo, 1);
  133. .RegisterTimer(180000, Noth_WaveTwoOne, 1);
  134. .RegisterTimer(220000, Noth_WaveTwoTwo, 1);
  135. .RegisterTimer(310000, Noth_WaveThreeOne, 1);
  136. .RegisterTimer(330000, Noth_WaveThreeTwo, 1);
  137. };
  138. .RegisterUnitEvent(15954, 1, Noth_EnterCombat);
  139.  
  140.  
  141.  
  142. global PlaguedGuardian_death = function(mob)
  143. {
  144. .DeregisterTimer();
  145. .Despawn(1000, 0);
  146. };
  147. .RegisterUnitEvent(16981, 4, PlaguedGuardian_death);
  148.  
  149. global PlaguedGuardian = function(mob)
  150. {
  151. .CastSpell(35124);
  152. };
  153.  
  154. global Guardian_Timer = function(mob)
  155. {
  156. .RegisterTimer(5000, PlaguedGuardian, 0);
  157. };
  158. .RegisterUnitEvent(16981, 1, Guardian_Timer);
  159.  
  160. global PlaguedChampion_death = function(mob)
  161. {
  162. .DeregisterTimer();
  163. .Despawn(1000, 0);
  164. };
  165. .RegisterUnitEvent(16983, 4, PlaguedChampion_death);
  166.  
  167. global PlaguedChampion = function(mob)
  168. {
  169. .CastSpel(40505);
  170. };
  171.  
  172. global Champion_Timer = function(mob)
  173. {
  174. .RegisterTimer(6000, PlaguedChampion, 0);
  175. };
  176. .RegisterUnitEvent(16983, 1, Champion_Timer);
  177.  
  178. global PlaguedWarrior_death = function(mob)
  179. {
  180. .Despawn(1000, 0);
  181. };
  182. .RegisterUnitEvent(16984, 4, PlaguedWarrior_death);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement