asavannalion.lua 578 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/asavannalion.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.01.23 05:01:41
  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. end
  13. function movement(NPC, Spawn)
  14. if IsHeroic(NPC) == false then
  15. RandomMovement(NPC, Spawn, 12, -12, 2, 8, 15)
  16. end
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end