9
3

orcknightstatue.lua 761 B

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