anelephant.lua 567 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/anelephant.lua
  3. Script Author : gloat
  4. Script Date : 2019.01.31 01:01:04
  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. end