Borxx.lua 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. require "SpawnScripts/Generic/NPCModule"
  11. function spawn(NPC, Spawn)
  12. --NPCModule(NPC, Spawn)
  13. end
  14. function aggro(NPC, Spawn)
  15. AddTimer(NPC, math.random(1500,2500), "spellLoop")
  16. end
  17. function borxxConvo1(NPC, Spawn)
  18. local overlord = GetSpawn(NPC, 5560003)
  19. FaceTarget(NPC, overlord)
  20. Say(NPC, "You lack dedication. I owe you nothing.")
  21. AddTimer(overlord, 3500, "overlordConvo2")
  22. end
  23. function borxxConvo2(NPC, Spawn)
  24. local overlord = GetSpawn(NPC, 5560003)
  25. FaceTarget(NPC, overlord)
  26. Say(NPC, "Your scheming will lead to ruin. If you wish my aid, you know the price.")
  27. AddTimer(overlord, 3500, "overlordConvo3")
  28. end
  29. function borxxConvo3(NPC, Spawn)
  30. local overlord = GetSpawn(NPC, 5560003)
  31. FaceTarget(NPC, overlord)
  32. Say(NPC, "If you wish my aid, you know the price.")
  33. AddTimer(overlord, 3500, "overlordConvo4")
  34. end
  35. function borxxConvo4(NPC, Spawn)
  36. local overlord = GetSpawn(NPC, 5560003)
  37. FaceTarget(NPC, overlord)
  38. Say(NPC, "If you wish my aid, you know the price.")
  39. AddTimer(overlord, 3500, "overlordConvo5")
  40. end
  41. function borxxConvo5(NPC, Spawn)
  42. local overlord = GetSpawn(NPC, 5560003)
  43. local hated = GetMostHated(overlord)
  44. local braxx = GetSpawn(NPC, 5560004)
  45. local brixx = GetSpawn(NPC, 5560005)
  46. FaceTarget(NPC, overlord)
  47. Say(NPC, "So be it.")
  48. Attack(NPC, hated)
  49. Attack(braxx, hated)
  50. Attack(brixx, hated)
  51. end
  52. function hailed(NPC, Spawn)
  53. end
  54. function respawn(NPC)
  55. spawn(NPC)
  56. end