aSapswillscout2.lua 729 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/aSapswillscout2.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.04.29 07:04:57
  5. Script Purpose : aSapswill scout chitchat
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SpawnSet(NPC, "visual_state", 540)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. math.randomseed(os.time())
  14. text = math.random(1,3)
  15. if text == 1 then
  16. Say(NPC, "Return to the High Shaman we must.")
  17. elseif text == 2 then
  18. Say(NPC, "Barely make it out with my ears I did!!")
  19. else
  20. Say(NPC, "Lost the village is, but the fight is not over!")
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end