9
3

TrainerYasnaVVath.lua 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. --[[
  2. Script Name : SpawnScripts/Darklight/TrainerYasnaVVath.lua
  3. Script Purpose : Trainer Yasna V'Vath <Keeper of Magical and Martial Knowledge>
  4. Script Author : John Adams
  5. Script Date : 2009.01.31
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1007.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Let us begin.", "dlg_4_1")
  23. AddConversationOption(conversation, "I will return later.")
  24. StartConversation(conversation, NPC, Spawn, "I am here to explain something very important: how your Spells, Combat Arts, and Abilities work, as well as how to improve them.")
  25. if convo==9 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1007.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "Let us begin.", "dlg_9_1")
  28. AddConversationOption(conversation, "I will return later.")
  29. StartConversation(conversation, NPC, Spawn, "I am here to explain something very important: how your Spells, Combat Arts, and Abilities work, as well as how to improve them.")
  30. end
  31. end
  32. function dlg_4_1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  36. AddConversationOption(conversation, "Tell me about Spells.", "dlg_4_2")
  37. AddConversationOption(conversation, "Tell me about Combat Arts.")
  38. AddConversationOption(conversation, "Tell me about Abilities.")
  39. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  40. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  41. AddConversationOption(conversation, "I will return for instruction later.")
  42. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  43. end
  44. function dlg_4_2(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  48. AddConversationOption(conversation, "Who uses Spells?", "dlg_4_3")
  49. AddConversationOption(conversation, "I will return for instruction later.")
  50. StartConversation(conversation, NPC, Spawn, "A Spell is a magical ability, and spells have a variety of uses. Some allow you to damage an enemy, while others might provide benefits to yourself or an ally. You can hold your mouse pointer over a Spell's icon to see a description of what it does, or right-click on it and select 'Examine.'")
  51. end
  52. function dlg_4_3(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  56. AddConversationOption(conversation, "I have more questions.", "dlg_4_4")
  57. AddConversationOption(conversation, "I will return for instruction later.")
  58. StartConversation(conversation, NPC, Spawn, "Mages, priests, paladins, shadowknights, troubadors, and dirges all cast Spells. Each class has a list of Spells that's unique. While other classes may have similar Spells, no one has capabilities exactly like that of another class. Also, certain magical items may be imbued with Spell effects that can be cast or that activate on their own.")
  59. end
  60. function dlg_4_4(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. conversation = CreateConversation()
  63. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  64. AddConversationOption(conversation, "Tell me about Spells.", "dlg_4_5")
  65. AddConversationOption(conversation, "Tell me about Combat Arts.")
  66. AddConversationOption(conversation, "Tell me about Abilities.")
  67. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  68. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  69. AddConversationOption(conversation, "I will return for instruction later.")
  70. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  71. end
  72. function dlg_4_5(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. conversation = CreateConversation()
  75. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  76. AddConversationOption(conversation, "Who uses Combat Arts?")
  77. AddConversationOption(conversation, "I will return for instruction later.", "dlg_4_6")
  78. StartConversation(conversation, NPC, Spawn, "Combat Arts are a lot like Spells, but they usually take less time to cast and cannot be interrupted. As their name implies, many Combat Arts focus on some aspect of battle.")
  79. end
  80. function dlg_4_6(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. conversation = CreateConversation()
  83. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  84. AddConversationOption(conversation, "I have more questions.", "dlg_4_7")
  85. AddConversationOption(conversation, "I will return for instruction later.")
  86. StartConversation(conversation, NPC, Spawn, "All fighters and scouts use Combat Arts. Each of these classes has unique Combat Arts that help distinguish them from other classes. Combat Arts have names and effects that fit the class that uses them.")
  87. end
  88. function dlg_4_7(NPC, Spawn)
  89. FaceTarget(NPC, Spawn)
  90. conversation = CreateConversation()
  91. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  92. AddConversationOption(conversation, "Tell me about Spells.", "dlg_4_8")
  93. AddConversationOption(conversation, "Tell me about Combat Arts.")
  94. AddConversationOption(conversation, "Tell me about Abilities.")
  95. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  96. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  97. AddConversationOption(conversation, "I will return for instruction later.")
  98. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  99. end
  100. function dlg_4_8(NPC, Spawn)
  101. FaceTarget(NPC, Spawn)
  102. conversation = CreateConversation()
  103. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  104. AddConversationOption(conversation, "How are Abilities different from Spells and Combat Arts?")
  105. AddConversationOption(conversation, "I will return for instruction later.")
  106. StartConversation(conversation, NPC, Spawn, "Abilities are general things your character can do, along with certain capabilities specific to your race. Some of your Abilities are extremely useful, such as Sprint, which allows you to run very fast for a short period of time. You can also Call for Help when you're in danger, or launch a Ranged Attack if you have a ranged weapon and, of course, ammo.")
  107. end
  108. function dlg_4_9(NPC, Spawn)
  109. FaceTarget(NPC, Spawn)
  110. conversation = CreateConversation()
  111. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  112. AddConversationOption(conversation, "I have more questions.", "dlg_4_10")
  113. AddConversationOption(conversation, "I will return for instruction later.")
  114. StartConversation(conversation, NPC, Spawn, "Unlike Spells and Combat Arts, Abilities cannot be upgraded. Most of your Abilities are received when you first begin your adventures in Norrath, although certain new ones can be granted as you become more experienced.")
  115. end
  116. function dlg_4_10(NPC, Spawn)
  117. FaceTarget(NPC, Spawn)
  118. conversation = CreateConversation()
  119. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  120. AddConversationOption(conversation, "Tell me about Spells.", "dlg_4_11")
  121. AddConversationOption(conversation, "Tell me about Combat Arts.")
  122. AddConversationOption(conversation, "Tell me about Abilities.")
  123. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  124. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  125. AddConversationOption(conversation, "I will return for instruction later.")
  126. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  127. end
  128. function dlg_4_11(NPC, Spawn)
  129. FaceTarget(NPC, Spawn)
  130. conversation = CreateConversation()
  131. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  132. AddConversationOption(conversation, "How do I use my Spells, Combat Arts, and Abilities?")
  133. AddConversationOption(conversation, "I will return for instruction later.")
  134. StartConversation(conversation, NPC, Spawn, "All your Spells and Combat Arts, as well as other Abilities, are found in your Knowledge Book. Press the K key to open it at any time, and click the name of the tab you wish to view: Abilities, Spells, or Combat Arts.")
  135. end
  136. function dlg_4_12(NPC, Spawn)
  137. FaceTarget(NPC, Spawn)
  138. conversation = CreateConversation()
  139. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  140. AddConversationOption(conversation, "I have more questions.", "dlg_4_13")
  141. AddConversationOption(conversation, "I will return for instruction later.")
  142. StartConversation(conversation, NPC, Spawn, "To use a Spell, Combat Art, or Ability, drag its icon from your Knowledge Book onto your hotbar. Some have already been placed there for you. To use one, simply click its icon on your hotbar or press the key assigned to it. You can open additional hotbars by right-clicking on a hotbar and selecting 'Open New Hotbar.'")
  143. end
  144. function dlg_4_13(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  148. AddConversationOption(conversation, "Tell me about Spells.", "dlg_4_14")
  149. AddConversationOption(conversation, "Tell me about Combat Arts.")
  150. AddConversationOption(conversation, "Tell me about Abilities.")
  151. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  152. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  153. AddConversationOption(conversation, "I will return for instruction later.")
  154. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  155. end
  156. function dlg_4_14(NPC, Spawn)
  157. FaceTarget(NPC, Spawn)
  158. conversation = CreateConversation()
  159. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  160. AddConversationOption(conversation, "How can I judge the effectiveness of my Spells and Combat Arts?")
  161. AddConversationOption(conversation, "I will return for further instruction later.")
  162. StartConversation(conversation, NPC, Spawn, "Most of your Spells or Combat Arts are given to you as you advance in levels from 1 to 50 and will be automatically scribed in your Knowledge Book. Certain special Spells or Combat Arts can be obtained by doing quests. Once you are level 51 and higher, you must find new ways to purchase or obtain your new Spells and Combat Arts.")
  163. end
  164. function dlg_4_15(NPC, Spawn)
  165. FaceTarget(NPC, Spawn)
  166. conversation = CreateConversation()
  167. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  168. AddConversationOption(conversation, "How can I improve my Spells and Combat Arts?", "dlg_4_16")
  169. AddConversationOption(conversation, "I will return for further instruction later.")
  170. StartConversation(conversation, NPC, Spawn, "There are three main ranks of Spells and Combat Arts: Apprentice, Adept, and Master. Within each rank are up to four tiers of quality. Spells and Combat Arts that are automatically granted to you are usually given at the Apprentice I rank. You should always try to have the highest rank of your Spells and Combat Arts, because they gain effectiveness as you improve them.")
  171. end
  172. function dlg_4_16(NPC, Spawn)
  173. FaceTarget(NPC, Spawn)
  174. conversation = CreateConversation()
  175. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  176. AddConversationOption(conversation, "What about other ranks of Spells and Arts?", "dlg_4_17")
  177. AddConversationOption(conversation, "I will return later.")
  178. StartConversation(conversation, NPC, Spawn, "You can buy Apprentice II versions of your Spells or Combat Arts. You just purchase them from the appropriate merchant.")
  179. end
  180. function dlg_4_17(NPC, Spawn)
  181. FaceTarget(NPC, Spawn)
  182. conversation = CreateConversation()
  183. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  184. AddConversationOption(conversation, "Are there other ways to improve my Spells and Combat Arts?", "dlg_4_18")
  185. AddConversationOption(conversation, "I will return later.")
  186. StartConversation(conversation, NPC, Spawn, "You will also find more potent ranks of spells and arts as you defeat opponents in battle. Many enemies will carry Adept I versions of Spells and Combat Arts, while conquering some extremely powerful foes may result in the extremely rare Master I versions.")
  187. end
  188. function dlg_4_18(NPC, Spawn)
  189. FaceTarget(NPC, Spawn)
  190. conversation = CreateConversation()
  191. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  192. AddConversationOption(conversation, "Are all my Spells and Combat Arts unique?", "dlg_4_19")
  193. AddConversationOption(conversation, "I will return for further instruction later.")
  194. StartConversation(conversation, NPC, Spawn, "In addition, certain crafters can make upgrades to your Spells and Combat Arts using harvested components. They can create Apprentice IV quality spells, as well as valuable Adept III scrolls using rare components. Buying from or trading with other players is an excellent way to upgrade your Spells and Combat Arts.")
  195. end
  196. function dlg_4_19(NPC, Spawn)
  197. FaceTarget(NPC, Spawn)
  198. conversation = CreateConversation()
  199. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  200. AddConversationOption(conversation, "How can I keep all these Spells and Arts straight in my Knowledge Book?", "dlg_4_20")
  201. AddConversationOption(conversation, "I will return for further instruction later.")
  202. StartConversation(conversation, NPC, Spawn, "As you advance in level, you will obtain many completely new abilities as well as more effective versions of Spells or Combat Arts you have already learned. The names and icons of these upgrades are often quite similar, but the newer versions are more effective. Again, you will want to obtain the highest rank of these new abilities that you can.")
  203. end
  204. function dlg_4_20(NPC, Spawn)
  205. FaceTarget(NPC, Spawn)
  206. conversation = CreateConversation()
  207. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  208. AddConversationOption(conversation, "I have more questions.", "dlg_4_21")
  209. AddConversationOption(conversation, "I will return for further instruction later.")
  210. StartConversation(conversation, NPC, Spawn, "Your Spells and Combat Arts can easily be organized according to your individual, personal taste. Just open your Knowledge Book and click the 'Sort' button in the upper right corner. This allows you to organize your Spells and Arts for easy access to the abilities that you wish to use.")
  211. end
  212. function dlg_4_21(NPC, Spawn)
  213. FaceTarget(NPC, Spawn)
  214. conversation = CreateConversation()
  215. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  216. AddConversationOption(conversation, "Tell me about Spells.", "dlg_4_22")
  217. AddConversationOption(conversation, "Tell me about Combat Arts.")
  218. AddConversationOption(conversation, "Tell me about Abilities.")
  219. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  220. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  221. AddConversationOption(conversation, "I will return for instruction later.")
  222. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  223. end
  224. function dlg_9_1(NPC, Spawn)
  225. FaceTarget(NPC, Spawn)
  226. conversation = CreateConversation()
  227. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  228. AddConversationOption(conversation, "Tell me about Spells.", "dlg_9_2")
  229. AddConversationOption(conversation, "Tell me about Combat Arts.")
  230. AddConversationOption(conversation, "Tell me about Abilities.")
  231. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  232. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  233. AddConversationOption(conversation, "I will return for instruction later.")
  234. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  235. end
  236. function dlg_9_2(NPC, Spawn)
  237. FaceTarget(NPC, Spawn)
  238. conversation = CreateConversation()
  239. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  240. AddConversationOption(conversation, "Who uses Spells?", "dlg_9_3")
  241. AddConversationOption(conversation, "I will return for instruction later.")
  242. StartConversation(conversation, NPC, Spawn, "A Spell is a magical ability, and spells have a variety of uses. Some allow you to damage an enemy, while others might provide benefits to yourself or an ally. You can hold your mouse pointer over a Spell's icon to see a description of what it does, or right-click on it and select 'Examine.'")
  243. end
  244. function dlg_9_3(NPC, Spawn)
  245. FaceTarget(NPC, Spawn)
  246. conversation = CreateConversation()
  247. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  248. AddConversationOption(conversation, "I have more questions.", "dlg_9_4")
  249. AddConversationOption(conversation, "I will return for instruction later.")
  250. StartConversation(conversation, NPC, Spawn, "Mages, priests, paladins, shadowknights, troubadors, and dirges all cast Spells. Each class has a list of Spells that's unique. While other classes may have similar Spells, no one has capabilities exactly like that of another class. Also, certain magical items may be imbued with Spell effects that can be cast or that activate on their own.")
  251. end
  252. function dlg_9_4(NPC, Spawn)
  253. FaceTarget(NPC, Spawn)
  254. conversation = CreateConversation()
  255. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  256. AddConversationOption(conversation, "Tell me about Spells.", "dlg_9_5")
  257. AddConversationOption(conversation, "Tell me about Combat Arts.")
  258. AddConversationOption(conversation, "Tell me about Abilities.")
  259. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  260. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  261. AddConversationOption(conversation, "I will return for instruction later.")
  262. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  263. end
  264. function dlg_9_5(NPC, Spawn)
  265. FaceTarget(NPC, Spawn)
  266. conversation = CreateConversation()
  267. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  268. AddConversationOption(conversation, "Who uses Combat Arts?")
  269. AddConversationOption(conversation, "I will return for instruction later.", "dlg_9_6")
  270. StartConversation(conversation, NPC, Spawn, "Combat Arts are a lot like Spells, but they usually take less time to cast and cannot be interrupted. As their name implies, many Combat Arts focus on some aspect of battle.")
  271. end
  272. function dlg_9_6(NPC, Spawn)
  273. FaceTarget(NPC, Spawn)
  274. conversation = CreateConversation()
  275. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  276. AddConversationOption(conversation, "I have more questions.", "dlg_9_7")
  277. AddConversationOption(conversation, "I will return for instruction later.")
  278. StartConversation(conversation, NPC, Spawn, "All fighters and scouts use Combat Arts. Each of these classes has unique Combat Arts that help distinguish them from other classes. Combat Arts have names and effects that fit the class that uses them.")
  279. end
  280. function dlg_9_7(NPC, Spawn)
  281. FaceTarget(NPC, Spawn)
  282. conversation = CreateConversation()
  283. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  284. AddConversationOption(conversation, "Tell me about Spells.", "dlg_9_8")
  285. AddConversationOption(conversation, "Tell me about Combat Arts.")
  286. AddConversationOption(conversation, "Tell me about Abilities.")
  287. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  288. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  289. AddConversationOption(conversation, "I will return for instruction later.")
  290. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  291. end
  292. function dlg_9_8(NPC, Spawn)
  293. FaceTarget(NPC, Spawn)
  294. conversation = CreateConversation()
  295. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  296. AddConversationOption(conversation, "How are Abilities different from Spells and Combat Arts?")
  297. AddConversationOption(conversation, "I will return for instruction later.")
  298. StartConversation(conversation, NPC, Spawn, "Abilities are general things your character can do, along with certain capabilities specific to your race. Some of your Abilities are extremely useful, such as Sprint, which allows you to run very fast for a short period of time. You can also Call for Help when you're in danger, or launch a Ranged Attack if you have a ranged weapon and, of course, ammo.")
  299. end
  300. function dlg_9_9(NPC, Spawn)
  301. FaceTarget(NPC, Spawn)
  302. conversation = CreateConversation()
  303. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  304. AddConversationOption(conversation, "I have more questions.", "dlg_9_10")
  305. AddConversationOption(conversation, "I will return for instruction later.")
  306. StartConversation(conversation, NPC, Spawn, "Unlike Spells and Combat Arts, Abilities cannot be upgraded. Most of your Abilities are received when you first begin your adventures in Norrath, although certain new ones can be granted as you become more experienced.")
  307. end
  308. function dlg_9_10(NPC, Spawn)
  309. FaceTarget(NPC, Spawn)
  310. conversation = CreateConversation()
  311. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  312. AddConversationOption(conversation, "Tell me about Spells.", "dlg_9_11")
  313. AddConversationOption(conversation, "Tell me about Combat Arts.")
  314. AddConversationOption(conversation, "Tell me about Abilities.")
  315. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  316. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  317. AddConversationOption(conversation, "I will return for instruction later.")
  318. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  319. end
  320. function dlg_9_11(NPC, Spawn)
  321. FaceTarget(NPC, Spawn)
  322. conversation = CreateConversation()
  323. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  324. AddConversationOption(conversation, "How do I use my Spells, Combat Arts, and Abilities?")
  325. AddConversationOption(conversation, "I will return for instruction later.")
  326. StartConversation(conversation, NPC, Spawn, "All your Spells and Combat Arts, as well as other Abilities, are found in your Knowledge Book. Press the K key to open it at any time, and click the name of the tab you wish to view: Abilities, Spells, or Combat Arts.")
  327. end
  328. function dlg_9_12(NPC, Spawn)
  329. FaceTarget(NPC, Spawn)
  330. conversation = CreateConversation()
  331. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  332. AddConversationOption(conversation, "I have more questions.", "dlg_9_13")
  333. AddConversationOption(conversation, "I will return for instruction later.")
  334. StartConversation(conversation, NPC, Spawn, "To use a Spell, Combat Art, or Ability, drag its icon from your Knowledge Book onto your hotbar. Some have already been placed there for you. To use one, simply click its icon on your hotbar or press the key assigned to it. You can open additional hotbars by right-clicking on a hotbar and selecting 'Open New Hotbar.'")
  335. end
  336. function dlg_9_13(NPC, Spawn)
  337. FaceTarget(NPC, Spawn)
  338. conversation = CreateConversation()
  339. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  340. AddConversationOption(conversation, "Tell me about Spells.", "dlg_9_14")
  341. AddConversationOption(conversation, "Tell me about Combat Arts.")
  342. AddConversationOption(conversation, "Tell me about Abilities.")
  343. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  344. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  345. AddConversationOption(conversation, "I will return for instruction later.")
  346. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  347. end
  348. function dlg_9_14(NPC, Spawn)
  349. FaceTarget(NPC, Spawn)
  350. conversation = CreateConversation()
  351. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  352. AddConversationOption(conversation, "How can I judge the effectiveness of my Spells and Combat Arts?")
  353. AddConversationOption(conversation, "I will return for further instruction later.")
  354. StartConversation(conversation, NPC, Spawn, "Most of your Spells or Combat Arts are given to you as you advance in levels from 1 to 50 and will be automatically scribed in your Knowledge Book. Certain special Spells or Combat Arts can be obtained by doing quests. Once you are level 51 and higher, you must find new ways to purchase or obtain your new Spells and Combat Arts.")
  355. end
  356. function dlg_9_15(NPC, Spawn)
  357. FaceTarget(NPC, Spawn)
  358. conversation = CreateConversation()
  359. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  360. AddConversationOption(conversation, "How can I improve my Spells and Combat Arts?", "dlg_9_16")
  361. AddConversationOption(conversation, "I will return for further instruction later.")
  362. StartConversation(conversation, NPC, Spawn, "There are three main ranks of Spells and Combat Arts: Apprentice, Adept, and Master. Within each rank are up to four tiers of quality. Spells and Combat Arts that are automatically granted to you are usually given at the Apprentice I rank. You should always try to have the highest rank of your Spells and Combat Arts, because they gain effectiveness as you improve them.")
  363. end
  364. function dlg_9_16(NPC, Spawn)
  365. FaceTarget(NPC, Spawn)
  366. conversation = CreateConversation()
  367. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  368. AddConversationOption(conversation, "What about other ranks of Spells and Arts?", "dlg_9_17")
  369. AddConversationOption(conversation, "I will return later.")
  370. StartConversation(conversation, NPC, Spawn, "You can buy Apprentice II versions of your Spells or Combat Arts. You just purchase them from the appropriate merchant.")
  371. end
  372. function dlg_9_17(NPC, Spawn)
  373. FaceTarget(NPC, Spawn)
  374. conversation = CreateConversation()
  375. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  376. AddConversationOption(conversation, "Are there other ways to improve my Spells and Combat Arts?", "dlg_9_18")
  377. AddConversationOption(conversation, "I will return later.")
  378. StartConversation(conversation, NPC, Spawn, "You will also find more potent ranks of spells and arts as you defeat opponents in battle. Many enemies will carry Adept I versions of Spells and Combat Arts, while conquering some extremely powerful foes may result in the extremely rare Master I versions.")
  379. end
  380. function dlg_9_18(NPC, Spawn)
  381. FaceTarget(NPC, Spawn)
  382. conversation = CreateConversation()
  383. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  384. AddConversationOption(conversation, "Are all my Spells and Combat Arts unique?", "dlg_9_19")
  385. AddConversationOption(conversation, "I will return for further instruction later.")
  386. StartConversation(conversation, NPC, Spawn, "In addition, certain crafters can make upgrades to your Spells and Combat Arts using harvested components. They can create Apprentice IV quality spells, as well as valuable Adept III scrolls using rare components. Buying from or trading with other players is an excellent way to upgrade your Spells and Combat Arts.")
  387. end
  388. function dlg_9_19(NPC, Spawn)
  389. FaceTarget(NPC, Spawn)
  390. conversation = CreateConversation()
  391. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  392. AddConversationOption(conversation, "How can I keep all these Spells and Arts straight in my Knowledge Book?", "dlg_9_20")
  393. AddConversationOption(conversation, "I will return for further instruction later.")
  394. StartConversation(conversation, NPC, Spawn, "As you advance in level, you will obtain many completely new abilities as well as more effective versions of Spells or Combat Arts you have already learned. The names and icons of these upgrades are often quite similar, but the newer versions are more effective. Again, you will want to obtain the highest rank of these new abilities that you can.")
  395. end
  396. function dlg_9_20(NPC, Spawn)
  397. FaceTarget(NPC, Spawn)
  398. conversation = CreateConversation()
  399. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  400. AddConversationOption(conversation, "I have more questions.", "dlg_9_21")
  401. AddConversationOption(conversation, "I will return for further instruction later.")
  402. StartConversation(conversation, NPC, Spawn, "Your Spells and Combat Arts can easily be organized according to your individual, personal taste. Just open your Knowledge Book and click the 'Sort' button in the upper right corner. This allows you to organize your Spells and Arts for easy access to the abilities that you wish to use.")
  403. end
  404. function dlg_9_21(NPC, Spawn)
  405. FaceTarget(NPC, Spawn)
  406. conversation = CreateConversation()
  407. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  408. AddConversationOption(conversation, "Tell me about Spells.", "dlg_9_22")
  409. AddConversationOption(conversation, "Tell me about Combat Arts.")
  410. AddConversationOption(conversation, "Tell me about Abilities.")
  411. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  412. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  413. AddConversationOption(conversation, "I will return for instruction later.")
  414. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  415. end
  416. function dlg_9_22(NPC, Spawn)
  417. FaceTarget(NPC, Spawn)
  418. conversation = CreateConversation()
  419. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  420. AddConversationOption(conversation, "How can I judge the effectiveness of my Spells and Combat Arts?")
  421. AddConversationOption(conversation, "I will return for further instruction later.")
  422. StartConversation(conversation, NPC, Spawn, "Most of your Spells or Combat Arts are given to you as you advance in levels from 1 to 50 and will be automatically scribed in your Knowledge Book. Certain special Spells or Combat Arts can be obtained by doing quests. Once you are level 51 and higher, you must find new ways to purchase or obtain your new Spells and Combat Arts.")
  423. end
  424. function dlg_9_23(NPC, Spawn)
  425. FaceTarget(NPC, Spawn)
  426. conversation = CreateConversation()
  427. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  428. AddConversationOption(conversation, "How can I improve my Spells and Combat Arts?", "dlg_9_24")
  429. AddConversationOption(conversation, "I will return for further instruction later.")
  430. StartConversation(conversation, NPC, Spawn, "There are three main ranks of Spells and Combat Arts: Apprentice, Adept, and Master. Within each rank are up to four tiers of quality. Spells and Combat Arts that are automatically granted to you are usually given at the Apprentice I rank. You should always try to have the highest rank of your Spells and Combat Arts, because they gain effectiveness as you improve them.")
  431. end
  432. function dlg_9_24(NPC, Spawn)
  433. FaceTarget(NPC, Spawn)
  434. conversation = CreateConversation()
  435. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  436. AddConversationOption(conversation, "What about other ranks of Spells and Arts?", "dlg_9_25")
  437. AddConversationOption(conversation, "I will return later.")
  438. StartConversation(conversation, NPC, Spawn, "You can buy Apprentice II versions of your Spells or Combat Arts. You just purchase them from the appropriate merchant.")
  439. end
  440. function dlg_9_25(NPC, Spawn)
  441. FaceTarget(NPC, Spawn)
  442. conversation = CreateConversation()
  443. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  444. AddConversationOption(conversation, "Are there other ways to improve my Spells and Combat Arts?", "dlg_9_26")
  445. AddConversationOption(conversation, "I will return later.")
  446. StartConversation(conversation, NPC, Spawn, "You will also find more potent ranks of spells and arts as you defeat opponents in battle. Many enemies will carry Adept I versions of Spells and Combat Arts, while conquering some extremely powerful foes may result in the extremely rare Master I versions.")
  447. end
  448. function dlg_9_26(NPC, Spawn)
  449. FaceTarget(NPC, Spawn)
  450. conversation = CreateConversation()
  451. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  452. AddConversationOption(conversation, "Are all my Spells and Combat Arts unique?", "dlg_9_27")
  453. AddConversationOption(conversation, "I will return for further instruction later.")
  454. StartConversation(conversation, NPC, Spawn, "In addition, certain crafters can make upgrades to your Spells and Combat Arts using harvested components. They can create Apprentice IV quality spells, as well as valuable Adept III scrolls using rare components. Buying from or trading with other players is an excellent way to upgrade your Spells and Combat Arts.")
  455. end
  456. function dlg_9_27(NPC, Spawn)
  457. FaceTarget(NPC, Spawn)
  458. conversation = CreateConversation()
  459. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  460. AddConversationOption(conversation, "How can I keep all these Spells and Arts straight in my Knowledge Book?", "dlg_9_28")
  461. AddConversationOption(conversation, "I will return for further instruction later.")
  462. StartConversation(conversation, NPC, Spawn, "As you advance in level, you will obtain many completely new abilities as well as more effective versions of Spells or Combat Arts you have already learned. The names and icons of these upgrades are often quite similar, but the newer versions are more effective. Again, you will want to obtain the highest rank of these new abilities that you can.")
  463. end
  464. function dlg_9_28(NPC, Spawn)
  465. FaceTarget(NPC, Spawn)
  466. conversation = CreateConversation()
  467. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  468. AddConversationOption(conversation, "I have more questions.", "dlg_9_29")
  469. AddConversationOption(conversation, "I will return for further instruction later.")
  470. StartConversation(conversation, NPC, Spawn, "Your Spells and Combat Arts can easily be organized according to your individual, personal taste. Just open your Knowledge Book and click the 'Sort' button in the upper right corner. This allows you to organize your Spells and Arts for easy access to the abilities that you wish to use.")
  471. end
  472. function dlg_9_29(NPC, Spawn)
  473. FaceTarget(NPC, Spawn)
  474. conversation = CreateConversation()
  475. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  476. AddConversationOption(conversation, "Tell me about Spells.", "dlg_9_30")
  477. AddConversationOption(conversation, "Tell me about Combat Arts.")
  478. AddConversationOption(conversation, "Tell me about Abilities.")
  479. AddConversationOption(conversation, "Where do I find my Spells, Combat Arts, and Abilities?")
  480. AddConversationOption(conversation, "How do I obtain and improve my Spells and Combat Arts?")
  481. AddConversationOption(conversation, "I will return for instruction later.")
  482. StartConversation(conversation, NPC, Spawn, "I am here to answer your questions. What can I help you with?")
  483. end