Advertisement
Rochet2

Quest stuff

Jul 19th, 2012
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function OnQuestAccept_Duthorian80007(event, pPlayer, QuestId, pUnit)
  2.     if QuestId == 80007 then
  3.         pUnit:RegisterEvent("Duthorian_Dialogue01", 3000, 1)
  4.     end
  5. end
  6.  
  7. function Duthorian_Dialogue01(pUnit, event)
  8.     pUnit:Emote(1, 61000)
  9.     pUnit:SendChatMessage(12, 7, "When I was a young boy I joined the Silver Hand hoping for some way to keep this land from being tainted.")
  10.     pUnit:RegisterEvent("Duthorian_Dialogue02", 10000, 1)
  11. end
  12.  
  13. function Duthorian_Dialogue02(pUnit, event)
  14.     pUnit:SendChatMessage(12, 7, "I took the oath, I bled for the Order, and I trained to be a member of it. Now look around and see what has happened!")
  15.     pUnit:RegisterEvent("Duthorian_Dialogue03", 10000, 1)
  16. end
  17.  
  18. function Duthorian_Dialogue03(pUnit, event)
  19.     pUnit:SendChatMessage(12, 7, "This land was once a beautiful place, filled with caring people, fertile ground, and just a solemn peace.")
  20.     pUnit:RegisterEvent("Duthorian_Dialogue04", 10000, 1)
  21. end
  22.  
  23. function Duthorian_Dialogue04(pUnit, event)
  24.     pUnit:SendChatMessage(12, 7, "I remember when the Cult of the Damned started spreading there plague in the North of Lordaeron.")
  25.     pUnit:RegisterEvent("Duthorian_Dialogue05", 10000, 1)
  26. end
  27.  
  28. function Duthorian_Dialogue05(pUnit, event)
  29.     pUnit:SendChatMessage(12, 7, "Tainting hapless villagers and there familys through the grain supplies. I met one of these cultist's and I killed him.")
  30.     pUnit:RegisterEvent("Duthorian_Dialogue06", 10000, 1)
  31. end
  32.  
  33. function Duthorian_Dialogue06(pUnit, event)
  34.     pUnit:SendChatMessage(12, 7, "The Silver Hand taught me a lot in my life, and many have forgotten the oath we have taken, either fleeing the land or joining the Crusade in it's infancy.")
  35.     pUnit:RegisterEvent("Duthorian_Dialogue07", 10000, 1)
  36. end
  37.  
  38. function Duthorian_Dialogue07(pUnit, event)
  39.     pUnit:SendChatMessage(12, 7, "These people have done wrong by killing those who are innocent and destroying those who have done no wrong!")
  40.     pUnit:RegisterEvent("Duthorian_Dialogue08", 1000, 1)
  41. end
  42.  
  43. function Duthorian_Dialogue08(pUnit, event)
  44.     pUnit:Emote(391, 2000)
  45.     pUnit:RegisterEvent("Duthorian_Dialogue10", 3000, 1) --Messed up the numbering system in the names here but it works =P
  46. end
  47.  
  48. function Duthorian_Dialogue10(pUnit, event)
  49.     pUnit:SendChatMessage(12, 7, "That is the flaw of your Crusade.")
  50.     pUnit:RegisterEvent("Duthorian_Dialogue11", 1000, 1)
  51. end
  52.  
  53. function Duthorian_Dialogue11(pUnit, event)
  54.     pUnit:Emote(397, 4000)
  55.     pUnit:RegisterEvent("Duthorian_Dialogue12", 5000, 1)
  56. end
  57.  
  58. function Duthorian_Dialogue12(pUnit, event)
  59.     pUnit:SendChatMessage(12, 7, "Your intentions are good yet your actions suggest otherwise.")
  60.     pUnit:RegisterEvent("Duthorian_Dialogue13", 7000, 1)
  61. end
  62.  
  63. function Duthorian_Dialogue13(pUnit, event)
  64.     pUnit:SendChatMessage(12, 7, "I have continued to keep my oath, and do nothing wrong to those who have done no wrong. Keeping peace where there has only been war.")
  65.     pUnit:RegisterEvent("Duthorian_Dialogue14", 10000, 1)
  66. end
  67.  
  68. function Duthorian_Dialogue14(pUnit, event)
  69.     pUnit:SendChatMessage(12, 7, "Keeping life where there has only been death. Now that you have heard my story choose if you want to fight me fairly so that I may rejoin my lost kin...")
  70.     pUnit:RegisterEvent("Duthorian_Dialogue15", 10000, 1)
  71. end
  72.  
  73. function Duthorian_Dialogue15(pUnit, event)
  74.     pUnit:SendChatMessage(12, 7, "Or to leave me be and to complete my oath.")
  75.     pUnit:Emote(68, 1000)
  76. end
  77.  
  78. RegisterServerHook(14, "OnQuestAccept_Duthorian80007")
  79. RegisterUnitEvent(90010, 18, function() return end) -- 90010 is the questgiver and talker's entry, right?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement