atorturedsoul.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/atorturedsoul.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.04 07:06:49
  5. Script Purpose :
  6. :
  7. --]]
  8. require("SpawnScripts/Generic/MovementCircleSmall")
  9. function spawn(NPC)
  10. SpawnChooseRandomMovement(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function death(NPC, Spawn)
  19. local choice = MakeRandomInt(1, 2)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "voiceover/english/ghost_base_1/ft/ghost/ghost_base_1_1_death_gm_18bd9c56.mp3", "You will see us again in your nightmares!", "", 3496984483, 236189449)
  22. elseif choice == 2 then
  23. PlayFlavor(NPC, "voiceover/english/ghost_base_1/ft/ghost/ghost_base_1_1_death_gm_49b06ac1.mp3", "You cannot kill what is already dead!", "", 2840452858, 3381399753)
  24. end
  25. end
  26. function aggro(NPC, Spawn)
  27. local choice = MakeRandomInt(1, 3)
  28. if choice == 1 then
  29. PlayFlavor(NPC, "voiceover/english/ghost_base_1/ft/ghost/ghost_base_1_1_aggro_gm_3e2a680d.mp3", "You cannot run from death, mortal!", "", 3726501132, 2641272181)
  30. elseif choice == 2 then
  31. PlayFlavor(NPC, "voiceover/english/ghost_base_1/ft/ghost/ghost_base_1_1_aggro_gm_8a0dd99d.mp3", "I will show you the true pain of death!", "", 2563182730, 2699265972)
  32. elseif choice == 3 then
  33. PlayFlavor(NPC, "voiceover/english/ghost_base_1/ft/ghost/ghost_base_1_1_aggro_gm_11cb6bf8.mp3", "Mortal agony is nothing compared to the torment that awaits you!", "", 2544751499, 3488336081)
  34. end
  35. end