orccauldron.lua 753 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Ruins/orccauldron.lua
  3. Script Author : jakejp
  4. Script Date : 2018.12.28 05:12:29
  5. Script Purpose :
  6. :
  7. --]]
  8. local Seventh_KnockTheFightOutOfEm = 392
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, Seventh_KnockTheFightOutOfEm, 1)
  11. end
  12. function hailed(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function casted_on(Target, Caster, SpellName)
  17. if SpellName == "Throw dirt in the orc stew" then
  18. if GetQuestStep(Caster, Seventh_KnockTheFightOutOfEm, 1) then
  19. SetStepComplete(Caster, Seventh_KnockTheFightOutOfEm, 1)
  20. SendMessage(Caster, "You throw some dirt in the orc cooking pot.")
  21. end
  22. end
  23. end