FroglokTotem.lua 526 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Kugup/FroglokTotem.lua
  3. Script Author : neatz09
  4. Script Date : 2023.04.29 06:04:40
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function casted_on(NPC, Spawn, Message)
  11. local Zone = GetZone(NPC)
  12. local sign = 484016
  13. local signloc = GetSpawnByLocationID(Zone, sign)
  14. if Message == "activateportalstone" and signloc == nil then SpawnByLocationID(Zone, sign)
  15. end
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end