9
3

Borxx.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. Script Name : SpawnScripts/MeetingOfTheMinds/Borxx.lua
  3. Script Author : Neveruary
  4. Script Date : 2021.10.05 12:10:00
  5. Script Purpose : Governs the behavior of Borxx in Meeting of the Minds.
  6. Script Notes : This script contains behavior for Borxx and Broxx. There are 4 adds on Live. This was likely changed since the last collect. I've merged their behaviors here.
  7. : Spell functions de-activated. All spells need implementation.
  8. --]]
  9. -- spells = {Gaze, Glare of Eradication, Gaze of Commandment, Gaze of Writhing Agony}
  10. function spawn(NPC)
  11. end
  12. function aggro(NPC, Spawn)
  13. AddTimer(NPC, math.random(1500,2500), "spellLoop")
  14. end
  15. function borxxConvo1(NPC, Spawn)
  16. local overlord = GetSpawn(NPC, 5560003)
  17. FaceTarget(NPC, overlord)
  18. Say(NPC, "You lack dedication. I owe you nothing.")
  19. AddTimer(overlord, 3500, "overlordConvo2")
  20. end
  21. function borxxConvo2(NPC, Spawn)
  22. local overlord = GetSpawn(NPC, 5560003)
  23. FaceTarget(NPC, overlord)
  24. Say(NPC, "Your scheming will lead to ruin. If you wish my aid, you know the price.")
  25. AddTimer(overlord, 3500, "overlordConvo3")
  26. end
  27. function borxxConvo3(NPC, Spawn)
  28. local overlord = GetSpawn(NPC, 5560003)
  29. FaceTarget(NPC, overlord)
  30. Say(NPC, "If you wish my aid, you know the price.")
  31. AddTimer(overlord, 3500, "overlordConvo4")
  32. end
  33. function borxxConvo4(NPC, Spawn)
  34. local overlord = GetSpawn(NPC, 5560003)
  35. FaceTarget(NPC, overlord)
  36. Say(NPC, "If you wish my aid, you know the price.")
  37. AddTimer(overlord, 3500, "overlordConvo5")
  38. end
  39. function borxxConvo5(NPC, Spawn)
  40. local overlord = GetSpawn(NPC, 5560003)
  41. local hated = GetMostHated(overlord)
  42. local braxx = GetSpawn(NPC, 5560004)
  43. local brixx = GetSpawn(NPC, 5560005)
  44. FaceTarget(NPC, overlord)
  45. Say(NPC, "So be it.")
  46. Attack(NPC, hated)
  47. Attack(braxx, hated)
  48. Attack(brixx, hated)
  49. end
  50. function hailed(NPC, Spawn)
  51. end
  52. function respawn(NPC)
  53. spawn(NPC)
  54. end