arhinoceros.lua 579 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/arhinoceros.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.01.23 06:01:09
  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