abadlandsnomad.lua 613 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/abadlandsnomad.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.02.14 09:02:26
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. human(NPC)
  12. Beggar(NPC)
  13. AddTimer(NPC, 1500, "movement")
  14. end
  15. function movement(NPC, Spawn)
  16. if IsHeroic(NPC) == false then
  17. RandomMovement(NPC, Spawn, 12, -12, 2, 8, 15)
  18. end
  19. end
  20. function hailed(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end