widgetgnollbrew.lua 613 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. end
  12. function casted_on(NPC, Spawn, Command)
  13. if Command == 'Grab jug of brew' then
  14. if GetQuestStep(Spawn, GnollBrew) == 1 then
  15. zone = GetZone(Spawn)
  16. if SpawnBucky == nil then
  17. SpawnBucky = SpawnByLocationID(zone, BuckyID)
  18. SetStepComplete(Spawn, GnollBrew, 1)
  19. end
  20. end
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end