widgetkrootax3barreloskins.lua 648 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/BigBend/widgetkrootax3barreloskins.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.12 06:07:56
  5. Script Purpose :
  6. :
  7. --]]
  8. local MuchAdoAboutRallos = 5634
  9. function casted_on(NPC, Spawn, SpellName)
  10. if SpellName == 'Take fresh skins' then
  11. if GetQuestStep(Spawn, MuchAdoAboutRallos) == 2 then
  12. SetStepComplete(Spawn, MuchAdoAboutRallos, 2)
  13. end
  14. end
  15. end
  16. function spawn(NPC)
  17. SetRequiredQuest(NPC, MuchAdoAboutRallos, 2)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end