aplainshunter.lua 629 B

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