9
3

zonetotishsoloquest.lua 510 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/zonetotishsoloquest.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.07.09 04:07:08
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheGnollCave = 106
  9. function spawn(NPC)
  10. AddSpawnAccess(NPC, NPC)
  11. SetPlayerProximityFunction(NPC, 50, "CheckQuest")
  12. end
  13. function respawn(NPC)
  14. Spawn(NPC)
  15. end
  16. function CheckQuest(NPC, Player)
  17. if HasCompletedQuest(Player, TheGnollCave) then
  18. AddSpawnAccess(NPC, Player)
  19. end
  20. end