anundeadbattlepriestHeroic.lua 712 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/TheGraveyard_Classic/anundeadbattlepriestHeroic.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.08.14 03:08:49
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseSkeleton2.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. SetSpawnAnimation(NPC, 13016)
  13. Appearance(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function Appearance(NPC)
  22. if GetGender(NPC)==2 then
  23. SpawnSet(NPC,"model_type",1521)
  24. else
  25. SpawnSet(NPC,"model_type",140)
  26. end
  27. end