9
3

anassassinleader.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/Cache/anassassinleader.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.12.05 02:12:36
  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. choice = MakeRandomInt(1,4)
  14. if choice ==1 then
  15. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_aggro_gf_8e7390a8.mp3", "Welcome to torment and destruction!", "", 3770648926, 2897017212, Spawn)
  16. elseif choice ==2 then
  17. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_aggro_gf_fb890c79.mp3", "I have no time for meddlers. Destroy them!", "", 1947039155, 2094447273, Spawn)
  18. elseif choice ==3 then
  19. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_battle_gf_ef48e73d.mp3", "Kneel before me, and I may spare you!", "", 1856378126, 584491690, Spawn)
  20. elseif choice ==4 then
  21. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_aggro_gf_ded507db.mp3", "More intruders to deal with? Stop them!", "", 338410258, 2808797910, Spawn)
  22. end
  23. end
  24. function death(NPC,Spawn)
  25. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_halfhealth_gf_8d198fee.mp3", "You may escape, but we will find you!", "", 1924616636, 4174763308, Spawn)
  26. end
  27. function respawn(NPC)
  28. spawn(NPC)
  29. end