aBloodskullpriest.lua 655 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/aBloodskullpriest.lua
  3. Script Author : gloat
  4. Script Date : 2019.01.31 01:01:18
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. Bloodskull(NPC)
  12. OrcArmorCommon(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. else
  19. IdlePriest(NPC)
  20. end
  21. end
  22. function hailed(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. end
  25. function respawn(NPC)
  26. end