9
3

awhitespider.lua 426 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : SpawnScripts/Caves/awhitespider.lua
  3. Script Purpose : a white spider
  4. Script Author : LordPazuzu
  5. Script Date : 10/4/2022
  6. Script Notes :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. RandomMovement(NPC, Spawn, 4, -4, 2, 8, 15)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. end