9
3

respawngraveswregan.lua 501 B

12345678910111213141516171819
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/respawngraveswregan.lua
  3. Script Purpose : spawn access for the grave near Gwenevyn's Cove
  4. Script Author : theFoof
  5. Script Date : 2013.05.22
  6. Script Notes :
  7. --]]
  8. local SiftingGarbage = 14
  9. function spawn(NPC)
  10. AddSpawnAccess(NPC, NPC)
  11. SetPlayerProximityFunction(NPC, 50, "SpawnAccess", "SpawnAccess")
  12. end
  13. function SpawnAccess(NPC, Spawn)
  14. if HasCompletedQuest(Spawn, SiftingGarbage) then
  15. AddSpawnAccess(NPC, Spawn)
  16. end
  17. end