9
3

widgetgnollbrew.lua 656 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/widgetgnollbrew.lua
  3. Script Author : Premierio015
  4. Script Date : 2022.07.12 05:07:48
  5. Script Purpose :
  6. :
  7. --]]
  8. local GnollBrew = 5638
  9. local BuckyID = 133773751
  10. function spawn(NPC)
  11. SetRequiredQuest(NPC,GnollBrew,1,0,0,1)
  12. end
  13. function casted_on(NPC, Spawn, Command)
  14. if Command == 'Grab jug of brew' then
  15. if GetQuestStep(Spawn, GnollBrew) == 1 then
  16. zone = GetZone(Spawn)
  17. if SpawnBucky == nil then
  18. SpawnBucky = SpawnByLocationID(zone, BuckyID)
  19. SetStepComplete(Spawn, GnollBrew, 1)
  20. end
  21. end
  22. end
  23. end
  24. function respawn(NPC)
  25. spawn(NPC)
  26. end