ameanbrigandcook.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/BuccaneersHideout/ameanbrigandcook.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.12.17 05:12:20
  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. local choice = MakeRandomInt(1,2)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "", "What now? More distractions? Great!", "", 0, 0, Spawn, 0)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/optional5/gnome_base_2/ft/gnome/gnome_base_2_1_halfhealth_gm_895967b4.mp3", "Don't let them hit me!", "", 3867000722, 3519508425, Spawn, 0)
  18. end
  19. end
  20. function death(NPC, Spawn)
  21. local choice = MakeRandomInt(1,3)
  22. if choice == 1 then
  23. PlayFlavor(NPC, "voiceover/english/optional5/gnome_base_2/ft/gnome/gnome_base_2_1_death_gm_dcc156f6.mp3", "Somebody find a way to get us out of here!", "", 3389043910, 2625252979, Spawn, 0)
  24. elseif choice == 2 then
  25. PlayFlavor(NPC, "voiceover/english/optional5/gnome_base_2/ft/gnome/gnome_base_2_1_halfhealth_gm_16b76687.mp3", "Not in the head! Not in the head!", "", 4042957456, 3810711869, Spawn, 0)
  26. elseif choice == 3 then
  27. PlayFlavor(NPC, "voiceover/english/optional5/gnome_base_2/ft/gnome/gnome_base_2_1_death_gm_47b1882a.mp3", "They'll kill us all!", "", 91120978, 4091470254, Spawn, 0)
  28. end
  29. end
  30. function respawn(NPC)
  31. spawn(NPC)
  32. end