widgetstarwispflour.lua 541 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : SpawnScripts/Antonica/widgetstarwispflour.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.15 05:05:40
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetRequiredQuest(NPC, 5830, 1)
  10. end
  11. function casted_on(NPC, Spawn,SpellName)
  12. if SpellName == 'Grab Flour' and GetQuestStep( Spawn, 5830)==1 then
  13. SendMessage(Spawn,"You grab a couple handfuls of milled flour.")
  14. SetStepComplete(Spawn,5830,1)
  15. end
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end