anoldbrazier.lua 637 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/anoldbrazier.lua
  3. Script Author : torsten
  4. Script Date : 2022.08.01 01:08:45
  5. Script Purpose :
  6. :
  7. --]]
  8. local PayingHomagetothePast = 342
  9. function casted_on(NPC, Spawn, Message)
  10. if GetQuestStep(Spawn, PayingHomagetothePast) == 3 and Message == "place skulls" then
  11. --492 for fire
  12. SpawnSet(NPC, "visual_state", "492")
  13. AddTimer(NPC, 5000, "EndFire")
  14. SetStepComplete(Spawn, QUEST_3, 3)
  15. end
  16. end
  17. function spawn(NPC)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end