9
3

qstshamanspawnerskull.lua 760 B

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/Caves/qstshamanspawnerskull.lua
  3. Script Author : Shatou
  4. Script Date : 2020.01.05 02:01:54
  5. Script Purpose :
  6. :
  7. --]]
  8. local HIGH_SHAMAN_OF_THE_ROCKPAW_QUEST_ID = 495
  9. local STAFF_OF_SUMMONING_ID = 13583
  10. function spawn(NPC)
  11. end
  12. function casted_on(NPC, Spawn, Message)
  13. if HasQuest(Spawn, HIGH_SHAMAN_OF_THE_ROCKPAW_QUEST_ID) then
  14. if HasItem(Spawn, STAFF_OF_SUMMONING_ID) then
  15. if Message == "Place Staff of Summoning" then
  16. SpawnMob(GetZone(NPC), 1970058, true, 27.49, 19.82, -126.11, 180)
  17. RemoveItem(Spawn, STAFF_OF_SUMMONING_ID)
  18. end
  19. end
  20. end
  21. end
  22. function hailed(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. end
  25. function respawn(NPC)
  26. end