stoneharry

Untitled

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