9
3

orcidol.lua 751 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Ruins/orcidol.lua
  3. Script Author : jakejp
  4. Script Date : 2018.12.28 06:12:40
  5. Script Purpose :
  6. :
  7. --]]
  8. local Seventh_KnockTheFightOutOfEm = 392
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, Seventh_KnockTheFightOutOfEm, 3)
  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 == "Deface the orc idol" then
  18. if GetQuestStep(Caster, Seventh_KnockTheFightOutOfEm, 3) then
  19. SetStepComplete(Caster, Seventh_KnockTheFightOutOfEm, 3)
  20. SendMessage(Caster, "You draw crazy eyes and a beard on the orc idol.")
  21. end
  22. end
  23. end