9
3

HeirophantAldalad.lua 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/HeirophantAldalad.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.27 05:10:49
  5. Script Purpose : Hierophant Aldalad- Prima listed him as Heirophant Aldalad (typo?)
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local Quest1 = 5772
  10. local Quest2 = 5773
  11. local Cleric = 5774
  12. local Druid = 5775
  13. local Shaman = 5776
  14. function spawn(NPC)
  15. ProvidesQuest(NPC, Quest1)
  16. ProvidesQuest(NPC, Quest2)
  17. ProvidesQuest(NPC, Cleric)
  18. ProvidesQuest(NPC, Druid)
  19. ProvidesQuest(NPC, Shaman)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. Dialog.New(NPC, Spawn)
  24. Dialog.AddDialog("Blessings to you and yours, child. Qeynos is gladdened by your presence this fine day! Sharing a few kind words can lift one's spirit, yes?")
  25. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad000.mp3", 1851949262, 3385195061)
  26. PlayFlavor(NPC,"","","nod",0,0,Spawn)
  27. if GetClass(Spawn)== 11 and GetLevel(Spawn)>=7 and not HasQuest(Spawn,Quest1) and not HasCompletedQuest(Spawn,Quest1) then
  28. Dialog.AddOption("Your faith seems to buoy you, Hierophant. I wish to be as filled as you!","Dialog1")
  29. end
  30. if GetClass(Spawn)== 11 and GetLevel(Spawn)==7 and HasCompletedQuest(Spawn,Quest1) then
  31. Dialog.AddOption("I am still reflecting on what you've taught me. I'll return later once I've made more progress.")
  32. end
  33. if GetClass(Spawn)== 11 and GetLevel(Spawn)==8 and HasCompletedQuest(Spawn,Quest2) then
  34. Dialog.AddOption("I am still reflecting on what you've taught me. I'll return later once I've made more progress.")
  35. end
  36. if HasQuest(Spawn,Quest1) and GetQuestStep(Spawn,Quest1)==3 then
  37. Dialog.AddOption("I have cured them both. One was stubborn; the other was a bit stupid ... and disgusting.","Dialog2")
  38. end
  39. if HasQuest(Spawn,Quest1) and GetQuestStep(Spawn,Quest1)==5 then
  40. Dialog.AddOption("I've dispatched the Oakmyst Spirits. They will bother people no longer.","Dialog3")
  41. end
  42. if GetClass(Spawn)== 11 and GetLevel(Spawn)>=8 and not HasQuest(Spawn,Quest2) and not HasCompletedQuest(Spawn,Quest2) and HasCompletedQuest(Spawn,Quest1) then
  43. Dialog.AddOption("I believe I am ready to learn more. Tell me of your own beliefs, Hierophant.","Dialog4")
  44. end
  45. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2)==2 then
  46. Dialog.AddOption("I've whittled the Carnivorous Slug population down a bit.","Dialog5")
  47. end
  48. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2)==6 then
  49. Dialog.AddOption("I healed those three soldiers, but ... I regret I couldn't save the rest.","Dialog6")
  50. end
  51. if HasQuest(Spawn,Cleric) and GetQuestStep(Spawn,Cleric)==1 then
  52. Dialog.AddOption("Sadly, I was not successful, Aldalad.","ClericFail")
  53. end
  54. if HasQuest(Spawn,Druid) then
  55. Dialog.AddOption("Aldalad, I need to perform my task to become a druid.","DruidAccepted" )
  56. end
  57. if HasCompletedQuest(Spawn,Cleric) or HasCompletedQuest(Spawn,Druid) or HasCompletedQuest(Spawn,Shaman) then
  58. Dialog.AddOption("May your blessings continue to provide, Aldalad. It is good to see you again.","Thanks")
  59. end
  60. if GetLevel(Spawn) >=9 and HasCompletedQuest(Spawn,Quest2) and GetClass(Spawn)==11 and not HasQuest(Spawn, Cleric) and not HasQuest(Spawn, Druid) and not HasQuest(Spawn, Shaman) then
  61. Dialog.AddOption("I want to learn even more! What is my next lesson?","FinalClassTest")
  62. end
  63. Dialog.AddOption("Thank you for your blessing. I wish you a good day as well, Hierophant")
  64. Dialog.Start()
  65. end
  66. function Thanks(NPC)
  67. FaceTarget(NPC, Spawn)
  68. PlayFlavor(NPC, "", "", "bow", 0, 0, Spawn)
  69. end
  70. function respawn(NPC)
  71. spawn(NPC)
  72. end
  73. function Dialog1(NPC,Spawn)
  74. FaceTarget(NPC, Spawn)
  75. Dialog.New(NPC, Spawn)
  76. Dialog.AddDialog("It warms my heart to hear you say that. Norrath has seen so much tragedy, but here in Qeynos, our spirits have never been shattered. I believe it is our faith that preserves us.")
  77. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad001.mp3", 498751224, 1226875703)
  78. PlayFlavor(NPC, "", "", "thanks", 0, 0, Spawn)
  79. Dialog.AddOption("I wish you would teach me more about such faith.","Dialog1a")
  80. Dialog.AddOption("Wise insight. Thank you, and good day!")
  81. Dialog.Start()
  82. end
  83. function Dialog1a(NPC,Spawn)
  84. FaceTarget(NPC, Spawn)
  85. Dialog.New(NPC, Spawn)
  86. Dialog.AddDialog("The lessons of faith are often hidden at first, and the path obscured. A priest such as myself may give direction, but you are the one who must make the journey. And even the longest journey begins with a single first step.")
  87. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad002.mp3", 3849793338, 2792721451)
  88. PlayFlavor(NPC, "", "", "orate", 0, 0, Spawn)
  89. Dialog.AddOption("This is true, but what journey would you have me make?","Dialog1b")
  90. Dialog.AddOption("Well, if I had the time I would take that first step.")
  91. Dialog.Start()
  92. end
  93. function Dialog1b(NPC,Spawn)
  94. FaceTarget(NPC, Spawn)
  95. Dialog.New(NPC, Spawn)
  96. Dialog.AddDialog("A journey to bring comfort and reassurance to these troubled times.There is much despair in this world, for many believe the gods have turned their backs to us. Certain clerics tell us that we are merely being tested in this age, or that we are paying for transgressions in our collective past.")
  97. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad003.mp3", 2581238696, 821414596)
  98. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  99. Dialog.AddOption("There is some disagreement about spiritual matters. But what of clerical magic? From where do we draw our healing abilities, if not from the gods?","Dialog1c")
  100. Dialog.Start()
  101. end
  102. function Dialog1c(NPC,Spawn)
  103. FaceTarget(NPC, Spawn)
  104. Dialog.New(NPC, Spawn)
  105. Dialog.AddDialog("Aye, healing abilities come from the gods. You may believe that, my child. And when you have faith, you can heal even the most grievous of injuries and illnesses. It is my hope that you will seek out those in need of healing, and use your gifts to restore them.")
  106. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad004.mp3", 576044661, 2436380839)
  107. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  108. Dialog.AddOption("Is that the journey you would have me make?","OfferQuest1")
  109. Dialog.Start()
  110. end
  111. function OfferQuest1(NPC,Spawn)
  112. OfferQuest(NPC,Spawn,Quest1)
  113. FaceTarget(NPC,Spawn)
  114. end
  115. function Dialog2(NPC,Spawn)
  116. FaceTarget(NPC, Spawn)
  117. Dialog.New(NPC, Spawn)
  118. Dialog.AddDialog("Do not be so quick to criticize. We must be compassionate and caring toward others. This is how we strengthen faith in Qeynos – by bearing witness and healing. ")
  119. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad006.mp3", 2653080394, 679982418)
  120. PlayFlavor(NPC, "", "", "no", 0, 0, Spawn)
  121. Dialog.AddOption("A heavy mace upside the head is also pretty effective.","Dialog2a")
  122. Dialog.Start()
  123. end
  124. function Dialog2a(NPC,Spawn)
  125. FaceTarget(NPC, Spawn)
  126. Dialog.New(NPC, Spawn)
  127. Dialog.AddDialog("Goodness, child! Where did you learn such talk? I see you will need much more spiritual instruction. You are not yet ready to touch the Gray Fields.")
  128. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad007.mp3", 3123928085, 2751213248)
  129. PlayFlavor(NPC, "", "", "boggle", 0, 0, Spawn)
  130. Dialog.AddOption("The Gray Fields? What's that?","Dialog2b")
  131. Dialog.Start()
  132. end
  133. function Dialog2b(NPC,Spawn)
  134. FaceTarget(NPC, Spawn)
  135. Dialog.New(NPC, Spawn)
  136. Dialog.AddDialog("You have many gifts, but they are undeveloped. Are you familiar with our shamanic traditions? A shaman communes with spirits to touch the Gray Fields -- the land between mortality and eternity. Spirits act as guides. But a shaman must beware, for not all spirits are good. There are dark entities who prey upon the living.")
  137. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad008.mp3", 859073595, 4091023392)
  138. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  139. Dialog.AddOption("This sounds interesting! How may I learn more?","Dialog2c")
  140. Dialog.Start()
  141. end
  142. function Dialog2c(NPC,Spawn)
  143. SetStepComplete(Spawn,Quest1,3)
  144. FaceTarget(NPC, Spawn)
  145. Dialog.New(NPC, Spawn)
  146. Dialog.AddDialog("Travel to the Oakmyst Forest, and you will see some of these errant spirits. But do not try to communicate with them! Dispatch five of them, and send them back to the dark realms from whence they came. Then return to me.")
  147. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad009.mp3", 2641653074, 4170087056)
  148. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  149. Dialog.AddOption("That sounds clear enough. I'll enjoy ridding Norrath of a few evil spirits.")
  150. Dialog.Start()
  151. end
  152. function Dialog3(NPC,Spawn)
  153. SetStepComplete(Spawn,Quest1,5)
  154. FaceTarget(NPC, Spawn)
  155. Dialog.New(NPC, Spawn)
  156. Dialog.AddDialog("So you have! For a time, at least. But the druids understand that, no matter what is accomplished by mortal hands, Nature will have her final say. You must learn to respect her, and she will reward you with increased powers. Now, go apply what you have learned to your own life.")
  157. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad010.mp3", 1188368287, 4134144195)
  158. PlayFlavor(NPC, "", "", "smile", 0, 0, Spawn)
  159. Dialog.AddOption("I shall.")
  160. Dialog.Start()
  161. end
  162. --QUEST 2
  163. function Dialog4(NPC,Spawn)
  164. FaceTarget(NPC, Spawn)
  165. Dialog.New(NPC, Spawn)
  166. Dialog.AddDialog("My beliefs are orthodox, but my spirit is inspired by many things: the forces of nature, the miracle of life, the mystery of death. Through all my long existence, not a day has passed when I have not been amazed by the things of nature.")
  167. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad012.mp3", 3270003865, 3440354773)
  168. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  169. Dialog.AddOption("Why, you almost sound like a Druid!","Dialog4a")
  170. Dialog.Start()
  171. end
  172. function Dialog4a(NPC,Spawn)
  173. FaceTarget(NPC, Spawn)
  174. Dialog.New(NPC, Spawn)
  175. Dialog.AddDialog("Ah, the druids. Their spiritual path is often misunderstood. They once worshipped the forces of nature as embodied by Tunare and Karana. And some say there are no real druids today, but the druids themselves disagree. They will tell you that, if you watch the plants and trees around you, Tunare's face will appear. And in the skies you will see Karana's breath.")
  176. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad013.mp3", 324086451, 1587586978)
  177. PlayFlavor(NPC, "", "", "confused", 0, 0, Spawn)
  178. Dialog.AddOption("But if Nature is sacred, then how do you explain the Shattering?","Dialog4b")
  179. Dialog.Start()
  180. end
  181. function Dialog4b(NPC,Spawn)
  182. FaceTarget(NPC, Spawn)
  183. Dialog.New(NPC, Spawn)
  184. Dialog.AddDialog("Because Nature does not exist merely to serve us, and because Nature always seeks a balance. It is neither good nor evil. It just is. A druid could explain it to you.")
  185. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad014.mp3", 2859399241, 1801474661)
  186. PlayFlavor(NPC, "", "", "no", 0, 0, Spawn)
  187. Dialog.AddOption("So what exactly is the Druid's role in Nature's grand scheme?","OfferQuest2")
  188. Dialog.Start()
  189. end
  190. function OfferQuest2(NPC,Spawn)
  191. OfferQuest(NPC,Spawn,Quest2)
  192. FaceTarget(NPC,Spawn)
  193. end
  194. function Dialog5(NPC,Spawn)
  195. FaceTarget(NPC, Spawn)
  196. Dialog.New(NPC, Spawn)
  197. Dialog.AddDialog("For now you have, but only time will tell. The druid understands that no matter what is done by mortal hands, nature has the final say. Learn to respect the world and the world will offer back that same respect in the way of granted powers. Now it is time for you to take what you have learned and apply it to your own life.")
  198. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad016.mp3", 2729819197, 1238324646)
  199. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  200. Dialog.AddOption("What do you mean by that?","Dialog5a")
  201. Dialog.Start()
  202. end
  203. function Dialog5a(NPC,Spawn)
  204. SetStepComplete(Spawn,Quest2,2)
  205. FaceTarget(NPC, Spawn)
  206. Dialog.New(NPC, Spawn)
  207. Dialog.AddDialog("I want you to go out to into the world and let your heart guide you. Some of those who help defend Qeynos from danger have found themselves in some of their own. Use the faith within you to help them prevail today. I will write in your journal where you can find these brave men and women. Come back when they are safe.")
  208. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad017.mp3", 937883467, 3105057313)
  209. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  210. Dialog.AddOption("Believe in your heart that it will be done.")
  211. Dialog.Start()
  212. end
  213. function Dialog6(NPC,Spawn)
  214. SetStepComplete(Spawn,Quest2,6)
  215. FaceTarget(NPC, Spawn)
  216. Dialog.New(NPC, Spawn)
  217. Dialog.AddDialog("It is enough, my child. You were brave and true, and risked your own life to save others. I am proud of you. Your faith has made you strong.")
  218. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad018.mp3", 1015192558, 567006981)
  219. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  220. if GetLevel(Spawn)>=9 then
  221. Dialog.AddOption("I want to learn even more! What is my next lesson?","FinalClassTest")
  222. else
  223. Dialog.AddOption("You've given me much to think about. Once I've reflected on this experience I will return to you.")
  224. end
  225. Dialog.Start()
  226. end
  227. --CLASS QUESTS
  228. function FinalClassTest(NPC,Spawn)
  229. FaceTarget(NPC, Spawn)
  230. Dialog.New(NPC, Spawn)
  231. Dialog.AddDialog("That is up to you. I have taught you all I can for now. You must continue on the path without me, at least for a while. Look in your heart, for it holds many answers. Where do you feel your faith leads you in this world?")
  232. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad019.mp3", 3131761726, 4109382879)
  233. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  234. Dialog.AddOption("My faith is more important than anything to me. I ... I will be a cleric!","Cleric1")
  235. Dialog.AddOption("I feel the forces of nature surrounding me. I believe I am a druid.","Druid1")
  236. Dialog.AddOption("Benevolent spirits will guide me until I finally join them. I think I am called to become a shaman. ","Shaman1")
  237. Dialog.Start()
  238. end
  239. --CLERIC
  240. function Cleric1(NPC,Spawn)
  241. FaceTarget(NPC, Spawn)
  242. Dialog.New(NPC, Spawn)
  243. Dialog.AddDialog("Faith in the divine is what empowers a cleric. You shall heal wounds both corporeal and spiritual. And you shall be bound to serve, even in the face of mortal danger. Will you accept such a yoke?")
  244. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad020.mp3", 4011008360, 2488359907)
  245. PlayFlavor(NPC, "", "", "orate", 0, 0, Spawn)
  246. Dialog.AddOption("With the help of the gods, I accept. There is nothing I cannot do as long as they are with me. I shall become a cleric.","Cleric2" )
  247. Dialog.AddOption("What were my options again?","FinalClassTest" )
  248. Dialog.Start()
  249. end
  250. function Cleric2(NPC,Spawn)
  251. FaceTarget(NPC, Spawn)
  252. Dialog.New(NPC, Spawn)
  253. Dialog.AddDialog("To fully realize your own faith, you will need to undergo a trial of your own beliefs. I cannot assist you with this, beyond pointing out what you must do. Will you permit such an ordeal?")
  254. --Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad017.mp3", 2729819197, 1238324646) WE DON"T HAVE THE VO FOR THIS
  255. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  256. Dialog.AddOption("I stand resolute in the face of any such trial.","OfferCleric" )
  257. Dialog.Start()
  258. end
  259. function OfferCleric(NPC,Spawn)
  260. OfferQuest(NPC,Spawn,Cleric)
  261. FaceTarget(NPC,Spawn)
  262. end
  263. function ClericAccept(NPC,Spawn)
  264. FaceTarget(NPC, Spawn)
  265. Dialog.New(NPC, Spawn)
  266. Dialog.AddDialog("Then I will facilitate a prayer trance for you. You will experience a struggle unlike any you've known before... but upon exiting the trance, should you prove successful, you will emerge with the emotional strength to survive and prosper in the re-forged Norrath. Are you ready?")
  267. --Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad017.mp3", 2729819197, 1238324646) WE DON"T HAVE THE VO FOR THIS
  268. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  269. Dialog.AddOption("I am.","ClericPort" )
  270. Dialog.AddOption("I will be shortly. I will return.")
  271. Dialog.Start()
  272. end
  273. function ClericFail(NPC,Spawn)
  274. FaceTarget(NPC, Spawn)
  275. Dialog.New(NPC, Spawn)
  276. Dialog.AddDialog("Though you were not successful in your previous attempt, one of the most valuable lessons an aspiring cleric can learn is perseverance. Are you ready to attempt the trial again?")
  277. --Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad017.mp3", 2729819197, 1238324646) WE DON"T HAVE THE VO FOR THIS
  278. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  279. Dialog.AddOption("Yes, Aldalad, I am.","ClericPort" )
  280. Dialog.AddOption("I will be shortly. I will return.")
  281. Dialog.Start()
  282. end
  283. function ClericPort(NPC,Spawn)
  284. Trial = GetZone("TheDisconcertingMeditation")
  285. Zone(Trial,Spawn,-47.02, -45.79, -49.3, 272)
  286. end
  287. --DRUID
  288. function Druid1(NPC,Spawn)
  289. FaceTarget(NPC, Spawn)
  290. Dialog.New(NPC, Spawn)
  291. Dialog.AddDialog("As a druid, you will become Nature's servant and companion, not her master. Nature is everywhere. If you respect her, she will become the greatest ally you have ever known. With your wisdom and her power, nothing shall defeat you.")
  292. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad021.mp3", 2608345231, 3745599287)
  293. PlayFlavor(NPC, "", "", "orate", 0, 0, Spawn)
  294. Dialog.AddOption("It is clear to me. I am called to be a druid.","Druid2" )
  295. Dialog.AddOption("What were my options again?","FinalClassTest" )
  296. Dialog.Start()
  297. end
  298. function Druid2(NPC,Spawn)
  299. FaceTarget(NPC, Spawn)
  300. Dialog.New(NPC, Spawn)
  301. Dialog.AddDialog("The path of a druid often requires more than just nurturing the land and its inhabitants. Often blights will have to be physically driven out, and this requires not only an awareness of one's surroundings, but also the strength to perform these feats. To this end, I have devised a test to determine your readiness to become a druid.")
  302. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad028.mp3", 774916388, 145472560)
  303. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  304. Dialog.AddOption("What sort of challenges must I face?","Druid3" )
  305. Dialog.Start()
  306. end
  307. function Druid3(NPC,Spawn)
  308. FaceTarget(NPC, Spawn)
  309. Dialog.New(NPC, Spawn)
  310. Dialog.AddDialog("I cannot tell you exactly what you will face - only that you must use the skills and spells you have learned up to this point in order to win your way past it and become a druid. Remember that you will be alone with this. Are you ready to begin?")
  311. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad029.mp3", 3326972063, 1689451744)
  312. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  313. Dialog.AddOption("I am.","OfferDruid" )
  314. Dialog.AddOption("I will be shortly. I will return.")
  315. Dialog.Start()
  316. end
  317. function OfferDruid(NPC,Spawn)
  318. OfferQuest(NPC,Spawn,Druid)
  319. FaceTarget(NPC,Spawn)
  320. end
  321. function DruidAccepted(NPC,Spawn)
  322. FaceTarget(NPC, Spawn)
  323. Dialog.New(NPC, Spawn)
  324. Dialog.AddDialog("There will be no need to return to me when you have completed this trial, but go forth and put what you have learned into practice. You will know when you have earned the right to call yourself a druid. I will send you to where you need to go.")
  325. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad030.mp3", 110213528, 850594761)
  326. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  327. Dialog.AddOption("I am ready.","DruidPort" )
  328. Dialog.Start()
  329. end
  330. function DruidPort(NPC,Spawn)
  331. Trial = GetZone("BurningAbode")
  332. Zone(Trial,Spawn,6.91, -0.20, 3.77, 348.55)
  333. end
  334. --SHAMAN
  335. function Shaman1(NPC,Spawn)
  336. FaceTarget(NPC, Spawn)
  337. Dialog.New(NPC, Spawn)
  338. Dialog.AddDialog("A shaman knows that death is but a journey to another adventure. If you choose this path, then those who have gone before you will guide your way through this mortal coil. By communing with your ancestors, the wisdom of the past is always within reach. The shaman speaks for the dead, and acts as a vessel to help others.")
  339. Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad022.mp3", 921764949, 3161713723)
  340. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  341. Dialog.AddOption("The spirits are with me and will always be my guide. I am a shaman.","Shaman2" )
  342. Dialog.AddOption("What were my options again?","FinalClassTest" )
  343. Dialog.Start()
  344. end
  345. function Shaman2(NPC,Spawn)
  346. FaceTarget(NPC, Spawn)
  347. Dialog.New(NPC, Spawn)
  348. Dialog.AddDialog("This may be the case, but not all spirits are here to help you along your life's path. Some poor souls remain attached to this existence - unable to transend to the Gray Fields and beyond. Some can be found near, even in the city of Qeynos. Are you up for the task of setting their souls to rest?")
  349. -- Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad022.mp3", 921764949, 3161713723) UNKNOWN VO
  350. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  351. Dialog.AddOption("I will gladly help put these spirits to rest.","OfferShaman" )
  352. Dialog.Start()
  353. end
  354. function OfferShaman(NPC,Spawn)
  355. OfferQuest(NPC,Spawn,Shaman)
  356. FaceTarget(NPC,Spawn)
  357. end
  358. function ShamanAccept(NPC,Spawn)
  359. FaceTarget(NPC, Spawn)
  360. Dialog.New(NPC, Spawn)
  361. Dialog.AddDialog("Then you must travel to the Southern part of the city where a home has reportedly become a site of restless spirits. Use the skills you have gained to unshackle them from this world and you will have proven yourself as a shaman. There will be no need to return to me, but be wary, spirits have powers even they can fathom.")
  362. -- Dialog.AddVoiceover("voiceover/english/hierophant_aldalad/qey_north/hierophant_aldalad030.mp3", 110213528, 850594761)
  363. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  364. Dialog.AddOption("Thank you, Aldalad. I will pass this trial." )
  365. Dialog.Start()
  366. end