ArthegosAlethros.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/BuccaneersHideout/ArthegosAlethros.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.12.17 05:12:17
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/CombatModule"
  9. function spawn(NPC, Spawn)
  10. combatModule(NPC, Spawn)
  11. end
  12. function aggro(NPC, Spawn)
  13. PlayFlavor(NPC, "", "Come h'er! Let's test how sharp my blade is!", "", 0, 0, Spawn, 0)
  14. end
  15. function death(NPC,Spawn)
  16. if GetGender(NPC)==1 then
  17. local choice = MakeRandomInt(1,3)
  18. if choice == 1 then
  19. PlayFlavor(NPC, "voiceover/english/human_dervish/ft/human/human_dervish_1_halfhealth_gm_b1dc44d0.mp3", "It's been awhile since anyone fought back!", "", 1623736591, 2832676927, Spawn, 0)
  20. elseif choice == 2 then
  21. PlayFlavor(NPC, "voiceover/english/human_dervish/ft/human/human_dervish_1_death_gm_94279fc3.mp3", "All hands! Retreat!", "", 2213603766, 3071153854, Spawn, 0)
  22. elseif choice == 3 then
  23. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_death_gm_3e24be0b.mp3", "Cover me while we regroup!", "", 144951462, 3922442401, Spawn, 0)
  24. end
  25. end
  26. end
  27. function victory(NPC,Spawn)
  28. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_victory_gm_4553e1e0.mp3", "Flee now or meet this one's fate.", "", 3032162747, 1359206304, Spawn, 0)
  29. end
  30. function respawn(NPC)
  31. spawn(NPC)
  32. end