schooloffishRespawn.lua 450 B

12345678910111213141516171819
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/schooloffishRespawn.lua
  3. Script Author : Rylec
  4. Script Date : 2020.09.14 12:09:03
  5. Script Purpose : Random respawn time for School of Fish
  6. :
  7. --]]
  8. function spawn(NPC)
  9. math.randomseed(os.time())
  10. local respawnTime = math.random (60,120)
  11. SpawnSet(NPC, "respawn", respawnTime)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end