aSeafurycorsair.lua 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/Freeport/aSeafurycorsair.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.11 09:07:05
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. if GetRace(NPC) == 9 and GetGender(NPC) == 2 then
  13. local choice = math.random(1, 3)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/human_eco_race_evil/ft/eco/evil/human_eco_race_evil_hail_gf_1e51f755.mp3", "Yes, yes, hello. I'm busy.", "hello", 4117973487, 2991449240, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/human_eco_race_evil/ft/eco/evil/human_eco_race_evil_hail_gf_93dc38d4.mp3", "Oh, drat, I hope not. Oh, sorry, I thought you might have meant the weather.", "confused", 1692525966, 615682275, Spawn)
  18. else
  19. PlayFlavor(NPC, "", "It's a fine day for evil to flourish!", "smile", 1689589577, 4560189, Spawn)
  20. end
  21. end
  22. if GetRace(NPC) == 14 and GetGender(NPC) == 2 then
  23. local choice = math.random(1, 3)
  24. if choice == 1 and GetRace(Spawn) == 1 then
  25. PlayFlavor(NPC, "voiceover/english/troll_eco_race_evil/ft/eco/evil/troll_eco_race_evil_darkelf_gf_50ad1ae0.mp3", "Treat us badly in Neriak! I laugh now we in same spot!", "chuckle", 3570765081, 2205040834, Spawn)
  26. elseif choice == 2 then
  27. PlayFlavor(NPC, "voiceover/english/troll_eco_race_evil/ft/eco/evil/troll_eco_race_evil_hail_gf_417aa823.mp3", "Nasty scars and boiled tar! Warriors is what we are!", "itch", 1257994883, 3501955854, Spawn)
  28. else
  29. PlayFlavor(NPC, "voiceover/english/troll_eco_race_evil/ft/eco/evil/troll_eco_race_evil_hail_gf_f491bc11.mp3", "Tasty treats, lots of meats.", "nod", 357958006, 4074544132, Spawn)
  30. end
  31. end
  32. if GetRace(NPC) == 12 then
  33. local choice = math.random(1, 2)
  34. if choice == 1 then
  35. PlayFlavor(NPC, "", "Drinking the blood of your enemy only makes you stronger.", "chuckle", 1689589577, 4560189, Spawn)
  36. else
  37. PlayFlavor(NPC, "", "Speak again and I will split your skull in two.", "scold", 1689589577, 4560189, Spawn)
  38. end
  39. end
  40. if GetRace(NPC) == 1 and GetGender(NPC) == 1 then
  41. PlayFlavor(NPC, "", "It's a fine day for evil to flourish!", "smile", 1689589577, 4560189, Spawn)
  42. end
  43. end
  44. function respawn(NPC)
  45. end