9
3

acontaminatedrat.lua 583 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Edgewater/acontaminatedrat.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.07.05 09:07:37
  5. Script Purpose :
  6. :
  7. --]]
  8. local ExterminatingTheContaminatedRats = 5287
  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, ExterminatingTheContaminatedRats) and not HasCompletedQuest(Spawn, ExterminatingTheContaminatedRats) then
  16. AddLootItem(Spawn, 3583)
  17. end
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end