Stench.lua 646 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/SerpentSewer/Stench.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.07.02 09:07:33
  5. Script Purpose :
  6. :
  7. --]]
  8. local AGiftFromTheSerpentsMouth = 5273
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function death(NPC, Spawn)
  15. if not HasQuest(Spawn, AGiftFromTheSerpentsMouth) and not HasCompletedQuest(Spawn, AGiftFromTheSerpentsMouth) then
  16. AddLootItem(NPC, 13354)
  17. elseif HasCompletedQuest(Spawn, AGiftFromTheSerpentsMouth) then
  18. RemoveLootItem(NPC, 13354)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end