Classic_awhitespiderling.lua 622 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Caves/Classic_awhitespiderling.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.13 03:10:46
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. ChooseMovement(NPC)
  12. end
  13. function ChooseMovement(NPC)
  14. if GetSpawnLocationID(NPC)~= 133778067 or GetSpawnLocationID(NPC)~= 133778068 then
  15. RandomMovement(NPC, Spawn, 4, -4, 2, 8, 15)
  16. end
  17. end
  18. function respawn(NPC, Spawn)
  19. spawn(NPC)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. end