widgetbox4.lua 558 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/SunkenCity/widgetbox4.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.16 04:07:26
  5. Script Purpose :
  6. :
  7. --]]
  8. local LukursAntiques = 374
  9. function casted_on(NPC, Spawn, SpellName)
  10. if SpellName == 'Search' then
  11. if GetTempVariable(Spawn,"Mask1")=="1" then --ShadowedMask
  12. SetStepComplete(Spawn, LukursAntiques, 1)
  13. end
  14. end
  15. end
  16. function spawn(NPC)
  17. SetRequiredQuest(NPC, LukursAntiques, 2)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end