anundeadbattlepriestNarrowPath.lua 778 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/TheGraveyard_Classic/anundeadbattlepriestNarrowPath.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.08.14 04:08:14
  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. RandomMovement(NPC, Spawn, 3, -3, 2, 8, 15)
  14. Appearance(NPC)
  15. end
  16. function respawn(NPC, Spawn)
  17. spawn(NPC)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. end
  22. function Appearance(NPC)
  23. if GetGender(NPC)==2 then
  24. SpawnSet(NPC,"model_type",1521)
  25. else
  26. SpawnSet(NPC,"model_type",140)
  27. end
  28. end