MasteratArmsDagorel.lua 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/MasteratArmsDagorel.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.25 12:10:24
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local Quest1 = 5787
  10. local Quest2 = 5788
  11. local Crusader = 5789
  12. local Brawler = 5790
  13. local Warrior = 5791
  14. function spawn(NPC)
  15. ProvidesQuest(NPC, Quest1)
  16. ProvidesQuest(NPC, Quest2)
  17. ProvidesQuest(NPC, Crusader)
  18. ProvidesQuest(NPC, Brawler)
  19. ProvidesQuest(NPC, Warrior)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. Dialog.New(NPC, Spawn)
  24. Dialog.AddDialog("Hail, citizen. I'm on duty and can't speak. If you need the assistance of the guard, let us know.")
  25. Dialog.AddVoiceover("voiceover/english/sergeant-at-arms_ironcast/qey_north/100_soc_dwarf_guard_officer_ironcast_no_181290a1.mp3", 904288338, 3551828428)
  26. PlayFlavor(NPC,"","","salute",0,0,Spawn)
  27. if GetClass(Spawn)== 1 and GetLevel(Spawn)>=7 and not HasQuest(Spawn,Quest1) and not HasCompletedQuest(Spawn,Quest1) then
  28. Dialog.AddOption("Greetings! I heard you were skilled in combat and had to come see you for myself.","Dialog1")
  29. end
  30. if HasQuest(Spawn,Quest1) and GetQuestStep(Spawn,Quest1)==2 then
  31. Dialog.AddOption("I was victorious against the spiders!","Dialog2")
  32. end
  33. if HasQuest(Spawn,Quest1) and GetQuestStep(Spawn,Quest1)==5 then
  34. Dialog.AddOption("I've been given tips on brawling... and a little more, too.","Dialog3")
  35. end
  36. if GetClass(Spawn)== 1 and GetLevel(Spawn)>=8 and not HasQuest(Spawn,Quest2) and not HasCompletedQuest(Spawn,Quest2) and HasCompletedQuest(Spawn,Quest1) then
  37. Dialog.AddOption("I feel rested and am ready for more training!","Dialog4")
  38. elseif GetClass(Spawn)== 1 and GetLevel(Spawn)<8 and not HasQuest(Spawn,Quest2) and not HasCompletedQuest(Spawn,Quest2) and HasCompletedQuest(Spawn,Quest1) then
  39. Dialog.AddOption("I'll return once I've had a bit more time to rest on what I've learned.")
  40. end
  41. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2)==4 then
  42. Dialog.AddOption("I've learned a bit about what drives the guards to do their duty.","Dialog5")
  43. end
  44. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2)==6 then
  45. Dialog.AddOption("I've killed the gnoll pup","Dialog6")
  46. end
  47. if HasCompletedQuest(Spawn,Quest2) and not HasQuest(Spawn,Crusader) and not HasQuest(Spawn,Brawler) and not HasQuest(Spawn,Warrior) and GetClass(Spawn)==1 and GetLevel(Spawn) >=9 then
  48. Dialog.AddOption("I've proven myself. I'm ready for any other test you can give.","Decide")
  49. end
  50. Dialog.AddOption("Thank you!")
  51. Dialog.Start()
  52. end
  53. function respawn(NPC)
  54. spawn(NPC)
  55. end
  56. function Dialog1(NPC,Spawn)
  57. FaceTarget(NPC, Spawn)
  58. Dialog.New(NPC, Spawn)
  59. Dialog.AddDialog("So, you came by to wish 'ole Dagorel a good bidding, did ya? Well, good day to you, friend! Never let anyone say that Dagorel doesn't know his manners. Lemme look at you ... Hmm ... I bet with a little toughenin' up, you could go toe-to-toe with the best of 'em!")
  60. PlayFlavor(NPC, "", "", "hello", 0, 0, Spawn)
  61. Dialog.AddOption("Have any tips on fighting styles? I'm ready for anything!","Dialog1a")
  62. Dialog.AddOption("I suppose I meant something else. Good luck on those bounties.")
  63. Dialog.Start()
  64. end
  65. function Dialog1a(NPC,Spawn)
  66. FaceTarget(NPC, Spawn)
  67. Dialog.New(NPC, Spawn)
  68. Dialog.AddDialog("Well now, that's more like it! I have been resposible for training new recruits of the Qeynos Guard for an age- you look like the right material to take a few hits to the noggin and still get back up. Perhaps some pointers on your fighting style would be in Qeynos's favor...")
  69. PlayFlavor(NPC, "", "", "happy", 0, 0, Spawn)
  70. Dialog.AddOption("What sort of fighting styles do you mean?","Dialog1b")
  71. Dialog.Start()
  72. end
  73. function Dialog1b(NPC,Spawn)
  74. FaceTarget(NPC, Spawn)
  75. Dialog.New(NPC, Spawn)
  76. Dialog.AddDialog("Many! Well, at least three in the city. First, I must know... what sort of combat have you seen?")
  77. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  78. Dialog.AddOption("I tackled a few goblins on the Isle of Refuge before coming here.","Dialog1c1")
  79. if HasCompletedQuest(Spawn, 5751)then --ISLE OF REFUGE ORC LEADER QUEST
  80. Dialog.AddOption("I toppled the invading goblins on the Isle of Refuge by taking out thier orc leader, Grimgash.","Dialog1c1a")
  81. end
  82. Dialog.AddOption("I took out some traitors to Qeynos. Proving my loyalty to Qeynos.","Dialog1c2")
  83. Dialog.AddOption("This and that- just some good ol' rough and tumble.","Dialog1c3")
  84. Dialog.Start()
  85. end
  86. function Dialog1c1(NPC,Spawn)
  87. FaceTarget(NPC, Spawn)
  88. Dialog.New(NPC, Spawn)
  89. Dialog.AddDialog("Ahh, yes. I the Isle is a true training ground if ya took advantage of it. The fact you made it here is a testament to their trainin'!")
  90. PlayFlavor(NPC, "", "", "smile", 0, 0, Spawn)
  91. Dialog.AddOption("Yea, being a fighter I handle myself pretty well.","Dialog1d")
  92. Dialog.Start()
  93. end
  94. function Dialog1c1a(NPC,Spawn)
  95. FaceTarget(NPC, Spawn)
  96. Dialog.New(NPC, Spawn)
  97. Dialog.AddDialog("Blimey! That was you?! Well done, I must say! Well done! You do have the chops to be a fighter. You were right to come see me.")
  98. PlayFlavor(NPC, "", "", "boggle", 0, 0, Spawn)
  99. Dialog.AddOption("Yea, being a fighter I handle myself pretty well.","Dialog1d")
  100. Dialog.Start()
  101. end
  102. function Dialog1c2(NPC,Spawn)
  103. FaceTarget(NPC, Spawn)
  104. Dialog.New(NPC, Spawn)
  105. Dialog.AddDialog("Those traitors got what was come'n to them, no doubt. I hope you chose wisely in their treatment. Justice is the cornerstone that seperates us from the likes of Freeport!")
  106. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  107. Dialog.AddOption("Yea, being a fighter I handled myself pretty well.","Dialog1d")
  108. Dialog.Start()
  109. end
  110. function Dialog1c3(NPC,Spawn)
  111. FaceTarget(NPC, Spawn)
  112. Dialog.New(NPC, Spawn)
  113. Dialog.AddDialog("Well, you have a few scrapes and bruises... So, I can see you've had your fair share of action. Hopefully you've managed to stay concious for most of it! Haha!")
  114. PlayFlavor(NPC, "", "", "chuckle", 0, 0, Spawn)
  115. Dialog.AddOption("Yea, being a fighter I handle myself pretty well.","Dialog1d")
  116. Dialog.Start()
  117. end
  118. function Dialog1c1(NPC,Spawn)
  119. FaceTarget(NPC, Spawn)
  120. Dialog.New(NPC, Spawn)
  121. Dialog.AddDialog("Ahh, yes. I the Isle is a true training ground if ya took advantage of it. The fact you made it here is a testament to their trainin'!")
  122. PlayFlavor(NPC, "", "", "smile", 0, 0, Spawn)
  123. Dialog.AddOption("Yea, being a fighter I handle myself pretty well.","Dialog1d")
  124. Dialog.Start()
  125. end
  126. function Dialog1d(NPC,Spawn)
  127. FaceTarget(NPC, Spawn)
  128. Dialog.New(NPC, Spawn)
  129. Dialog.AddDialog("Well, then, the first thing you gotta know is that there's not just one way to fight. S'matter of fact, you gotta discipline yourself in a style of fightin'. I'll give you a taste of the fighting styles I've come across in me years of battle. Let's start with the fightin' style of a warrior...")
  130. PlayFlavor(NPC, "", "", "orate", 0, 0, Spawn)
  131. Dialog.AddOption("Tell me what I need to do! I'm ready to give something a beating!","Quest1Offer")
  132. Dialog.AddOption("Actually, I should begin this with you another time.")
  133. Dialog.Start()
  134. end
  135. function Quest1Offer(NPC,Spawn)
  136. FaceTarget(NPC, Spawn)
  137. OfferQuest(NPC,Spawn,Quest1)
  138. end
  139. function Dialog2(NPC,Spawn)
  140. FaceTarget(NPC, Spawn)
  141. Dialog.New(NPC, Spawn)
  142. Dialog.AddDialog("So ya are! A good warrior knows how best to take out their foes with a good suit of armor and their trusty weapons at their side. Hardest part is trusting your gut and knowing when you've bit off more than you can chew... or at least your armor can withstand anyway.")
  143. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  144. Dialog.AddOption("So, the heavier the armor the better? Alright!","Dialog2a")
  145. Dialog.Start()
  146. end
  147. function Dialog2a(NPC,Spawn)
  148. FaceTarget(NPC, Spawn)
  149. Dialog.New(NPC, Spawn)
  150. Dialog.AddDialog("Wait a momment... There are more ways of fighting than covering yourself in a full suit of plate.")
  151. PlayFlavor(NPC, "", "", "sniff", 0, 0, Spawn)
  152. Dialog.AddOption("Oh? You just said...","Dialog2b")
  153. Dialog.Start()
  154. end
  155. function Dialog2b(NPC,Spawn)
  156. FaceTarget(NPC, Spawn)
  157. Dialog.New(NPC, Spawn)
  158. Dialog.AddDialog("Well, forget everythin' I said! Yer' about to see how a brawler fights. Instead of using armor, brawlers use their bodies as weapons. They avoid gettin' hurt in combat by using a special trick.")
  159. PlayFlavor(NPC, "", "", "heckno", 0, 0, Spawn)
  160. Dialog.AddOption("How do they avoid attacks?","Dialog2c")
  161. Dialog.Start()
  162. end
  163. function Dialog2c(NPC,Spawn)
  164. SetStepComplete(Spawn,Quest1,2)
  165. FaceTarget(NPC, Spawn)
  166. Dialog.New(NPC, Spawn)
  167. Dialog.AddDialog("They don't let themselves get hit! Simple as that! You have to learn that trick if you want to be a brawler. I know a couple of people who can give you some pointers. Go speak with Luvile Binlee in Starcrest and Hargan Icethaw in Graystone. Tell 'em I sent you, and ask for some brawlin' tips.")
  168. PlayFlavor(NPC, "", "", "happy", 0, 0, Spawn)
  169. Dialog.AddOption("Okay. I'll go speak with them about brawling.")
  170. Dialog.Start()
  171. end
  172. function Dialog3(NPC,Spawn)
  173. FaceTarget(NPC, Spawn)
  174. Dialog.New(NPC, Spawn)
  175. Dialog.AddDialog("Oh, is that so? Well let's put what ya learned to the test, shall we?")
  176. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  177. Dialog.AddOption("Alright.","Dialog3a")
  178. Dialog.Start()
  179. end
  180. function Dialog3a(NPC,Spawn)
  181. FaceTarget(NPC, Spawn)
  182. Dialog.New(NPC, Spawn)
  183. Dialog.AddDialog("[Dagorel prepares up to punch you]")
  184. PlayFlavor(NPC, "", "", "pugilist_idle", 0, 0, Spawn)
  185. Dialog.AddOption("[Attempt to dodge]","Dodge")
  186. Dialog.AddOption("[Take the punch to your gut]","Gut")
  187. Dialog.Start()
  188. end
  189. function Dodge(NPC,Spawn)
  190. FaceTarget(NPC, Spawn)
  191. Dialog.New(NPC, Spawn)
  192. Dialog.AddDialog("[Dagorel's punch grazes you]")
  193. PlayFlavor(NPC, "", "", "pugilist_wild_swing", 0, 0, Spawn)
  194. AddTimer(NPC,1300,"Dodge2",1,Spawn)
  195. Dialog.AddOption("Ah, you still got me.","Dialog3c")
  196. Dialog.Start()
  197. end
  198. function Dodge2(NPC,Spawn)
  199. PlayFlavor(Spawn, "", "", "1h_sword_dodge_backhand", 0, 0, NPC)
  200. end
  201. function Gut(NPC,Spawn)
  202. FaceTarget(NPC, Spawn)
  203. Dialog.New(NPC, Spawn)
  204. Dialog.AddDialog("...")
  205. PlayFlavor(NPC, "", "", "pugilist_attack02", 0, 0, Spawn)
  206. AddTimer(NPC,1300,"Gut2",1,Spawn)
  207. Dialog.AddOption("Oof...","Dialog3b")
  208. Dialog.Start()
  209. end
  210. function Gut2(NPC,Spawn)
  211. PlayFlavor(Spawn, "", "", "gutcramp", 0, 0, NPC)
  212. local invul = IsInvulnerable(Spawn)
  213. if invul == true then
  214. return 0
  215. end
  216. local hp = GetHP(Spawn)
  217. local damage = GetMaxHP(Spawn)*0.1
  218. local damageToTake = damage * 1
  219. -- if we don't have enough HP make them die to pain and suffering not self
  220. if hp <= damageToTake then
  221. else
  222. DamageSpawn(Spawn, Spawn, 192, 3, damageToTake, damageToTake, "Dagorel's punch!", 0, 0, 1, 1)
  223. end
  224. end
  225. function Dialog3c(NPC,Spawn)
  226. SetStepComplete(Spawn,Quest1,5)
  227. FaceTarget(NPC, Spawn)
  228. Dialog.New(NPC, Spawn)
  229. Dialog.AddDialog("Not bad! You did learn a few things from Luvile, but there is always room for improvement. Perhaps a brawler is a path for you... Even so, you should rest up before we continue looking at other fighting styles. Come back to me after you've taken some time to catch your breath.")
  230. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  231. Dialog.AddOption("I like the sounds of that. I'll rest for a while.")
  232. Dialog.Start()
  233. end
  234. function Dialog3b(NPC,Spawn)
  235. SetStepComplete(Spawn,Quest1,5)
  236. FaceTarget(NPC, Spawn)
  237. Dialog.New(NPC, Spawn)
  238. Dialog.AddDialog("Oi, if you're going to take a blow like that you should have thicker armor! You must have taken Hargan's lesson on brawling to heart, Haha!... Even so, you should rest up before we continue looking at other fighting styles. Come back to me after you've taken some time to catch your breath.")
  239. PlayFlavor(NPC, "", "", "wince", 0, 0, Spawn)
  240. Dialog.AddOption("I like the sounds of that. I'll rest for a while.")
  241. Dialog.Start()
  242. end
  243. -- QUEST 2 --
  244. function Dialog4(NPC,Spawn)
  245. FaceTarget(NPC, Spawn)
  246. Dialog.New(NPC, Spawn)
  247. Dialog.AddDialog("Aye, it's high time we continue with your studies. Time is tickin' away, and we're not gettin' any younger. I showed you how a warrior and a brawler fight, and now I'll show you the way of a crusader.")
  248. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  249. Dialog.AddOption("What makes someone a crusader?","Dialog4a")
  250. Dialog.Start()
  251. end
  252. function Dialog4a(NPC,Spawn)
  253. FaceTarget(NPC, Spawn)
  254. Dialog.New(NPC, Spawn)
  255. Dialog.AddDialog("Crusaders fight for a cause. I've battled beside a few in my years, and they're an impressive bunch. Everything they do has a purpose; you can see it on the battlefield and from the look in their eyes.")
  256. PlayFlavor(NPC, "", "", "orate", 0, 0, Spawn)
  257. Dialog.AddOption("As in a belief? What would you have me do?","Quest2Start")
  258. Dialog.AddOption("Interesting, but let's continue this conversation later.")
  259. Dialog.Start()
  260. end
  261. function Quest2Start(NPC,Spawn)
  262. FaceTarget(NPC, Spawn)
  263. OfferQuest(NPC,Spawn,Quest2)
  264. end
  265. function Dialog5(NPC,Spawn)
  266. FaceTarget(NPC, Spawn)
  267. Dialog.New(NPC, Spawn)
  268. Dialog.AddDialog("That's good to hear! Our soldiers don't hear enough kind words as it is, but when you can get them to think back on why they decided to protect their city... They certainly start to light up!")
  269. PlayFlavor(NPC, "", "", "happy", 0, 0, Spawn)
  270. Dialog.AddOption("Most shared a sense of duty and honor in their work.","Dialog5a")
  271. Dialog.AddOption("Some mentioned it as just a job, but they also felt pride in protecting Qeynos.","Dialog5a")
  272. Dialog.Start()
  273. end
  274. function Dialog5a(NPC,Spawn)
  275. FaceTarget(NPC, Spawn)
  276. Dialog.New(NPC, Spawn)
  277. Dialog.AddDialog("Aye, that sounds about right. Not everything about duty and honor is glamorous, but when you are responsible for that sort of \"passion\" to succeed... Your convicition will provide that power to accomplish the unthinkable.")
  278. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  279. Dialog.AddOption("I see. What must I do to prove myself a protector?","Dialog5b")
  280. Dialog.Start()
  281. end
  282. function Dialog5b(NPC,Spawn)
  283. FaceTarget(NPC, Spawn)
  284. Dialog.New(NPC, Spawn)
  285. Dialog.AddDialog("Ahhh... There is the question! Qeynos is under constant threat- even more so ever since the Sundering when the continents were pulled apart! Are you ready to perform a duty for Qeynos and prove yourself a frontline protector?")
  286. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  287. Dialog.AddOption("I am ready. Give me a mission!","Dialog5c")
  288. Dialog.Start()
  289. end
  290. function Dialog5c(NPC,Spawn)
  291. FaceTarget(NPC, Spawn)
  292. Dialog.New(NPC, Spawn)
  293. Dialog.AddDialog("Qeynos thrives in this shattered world only through the efforts of its fine citizens. Those nasty gnolls want us all dead, and it's our duty to protect our city from these fiends. You must use your fighting skills to protect Qeynos. Your first mission is to head out to Antonica and take care of the Darkpaws. Start with a pup and come back to me.")
  294. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  295. Dialog.AddOption("I'll return when I'm victorious.")
  296. SetStepComplete(Spawn,Quest2,4)
  297. Dialog.Start()
  298. end
  299. function Dialog6(NPC,Spawn)
  300. FaceTarget(NPC, Spawn)
  301. Dialog.New(NPC, Spawn)
  302. Dialog.AddDialog("Aye, aye. The watchmen informed me. They say you held your own. That's what I want to hear! You had to prove your fightin' skills--I don't want anyone accusing ol' Dagorel of sending ill-equipped kids off to their deaths. You proved you got what it takes, kid. Good work.")
  303. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  304. if GetLevel(Spawn) >=9 then
  305. Dialog.AddOption("I'm glad to have had the chance to prove myself.","Decide")
  306. else
  307. Dialog.AddOption("I hate to admit it, but I need a rest after that. I'll return once I'm ready.")
  308. end
  309. Dialog.Start()
  310. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2) ==6 then
  311. SetStepComplete(Spawn,Quest2,6)
  312. end
  313. end
  314. --CLASS SELECTION
  315. function Decide(NPC,Spawn)
  316. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2) ==6 then
  317. SetStepComplete(Spawn,Quest2,6)
  318. end
  319. FaceTarget(NPC, Spawn)
  320. Dialog.New(NPC, Spawn)
  321. Dialog.AddDialog("Well, then, I showed you three different fighting styles--you know my preferred way of fighting--trusting a good axe and a breastplate. You experienced the raw fighting power of a brawler, and finally, you witnessed the dedication of a crusader. Now it's time to test your knowledge...")
  322. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  323. Dialog.AddOption("I feel naked without a weapon in my hand. I believe I'm a warrior.","Warrior1")
  324. Dialog.AddOption("Through training, I can make my own body into a weapon. I'm a brawler.","Brawler1")
  325. Dialog.AddOption("My burning conviction is the only weapon I need. I know I am a crusader.","Crusader1")
  326. Dialog.Start()
  327. end
  328. --WARRIOR
  329. function Warrior1(NPC,Spawn)
  330. FaceTarget(NPC, Spawn)
  331. Dialog.New(NPC, Spawn)
  332. Dialog.AddDialog("A warrior, are ya? You're sayin' that the best way to fix a problem is with a bit of hammered steel? Aye, I agree with that! When you got a slaverin' gnoll runnin' at you, hard bent for leather, well, you'd be a ninny not to draw steel. So, the life of the warrior is your path in life, is it?")
  333. PlayFlavor(NPC, "", "", "happy", 0, 0, Spawn)
  334. Dialog.AddOption("Yes. I prefer to take care of a problem, rather than let it take care of me. I am a warrior!","WarriorOffer")
  335. Dialog.AddOption("On second thought, what were my options again?","Decide")
  336. Dialog.Start()
  337. end
  338. function WarriorOffer(NPC,Spawn)
  339. FaceTarget(NPC, Spawn)
  340. OfferQuest(NPC,Spawn,Warrior)
  341. end
  342. --BRAWLER
  343. function Brawler1(NPC,Spawn)
  344. FaceTarget(NPC, Spawn)
  345. Dialog.New(NPC, Spawn)
  346. Dialog.AddDialog("Brawlers use their brains, they do. They don't need armor if their enemies can't hit 'em. They also know they can't be disarmed if they have built-in weapons. Well, they can, but that' messy business that we don't need to discuss. So, are ya willin' to push yourself to the limit as a brawler?")
  347. PlayFlavor(NPC, "", "", "no", 0, 0, Spawn)
  348. Dialog.AddOption("Yes. I will train everyday to master the art of pugilism. I am a brawler.","BrawlerOffer")
  349. Dialog.AddOption("On second thought, what were my options again?","Decide")
  350. Dialog.Start()
  351. end
  352. function BrawlerOffer(NPC,Spawn)
  353. FaceTarget(NPC, Spawn)
  354. OfferQuest(NPC,Spawn,Brawler)
  355. end
  356. --CRUSADER
  357. function Crusader1(NPC,Spawn)
  358. FaceTarget(NPC, Spawn)
  359. Dialog.New(NPC, Spawn)
  360. Dialog.AddDialog("It's not as easy as that, youngin'. You don't just declare yourself a crusader, or did you learn nothing from my previous lessons? No, crusader is a title earned by those with enough heart to consider the fair city of Qeynos and its inhabitants first and themselves a distant second.")
  361. PlayFlavor(NPC, "", "", "no", 0, 0, Spawn)
  362. Dialog.AddOption("I like having a commanding presence in battle. I want to be a crusader.","CrusaderOffer")
  363. Dialog.AddOption("On second thought, what were my options again?","Decide")
  364. Dialog.Start()
  365. end
  366. function CrusaderOffer(NPC,Spawn)
  367. FaceTarget(NPC, Spawn)
  368. OfferQuest(NPC,Spawn,Crusader)
  369. end
  370. --[[
  371. Brawlers use their brains, they do. They don't need armor if their enemies can't hit 'em. They also know they can't be disarmed if they have built-in weapons. Well, they can, but that' messy business that we don't need to discuss. So, are ya willin' to push yourself to the limit as a brawler?
  372. Warriors run to the front line in battle and care only about slaughtering the enemy and oiling their weapons with their foe's blood. Warriors know might makes right. Do you choose this path?
  373. None matches the conviction of a crusader. Crusaders fight for a cause. This cause gives them the strength to crush their opponents beneath their feet. The last thing that people see when they fight a crusader is a cold, dead look -- their own reflection in the crusader's eyes. Do you choose this path?
  374. ]]--
  375. --[FINAL SELECTION]
  376. --You have to make a choice! You got potential, you do, and it would be a sore shame to see you waste it! But you can't be a fighter your entire life. You gotta focus on one of the styles I showed you, if you wanna go places. So what will it be, eh?
  377. --Brawlers use their brains, they do. They don't need armor if their enemies can't hit 'em. They also know they can't be disarmed if they have built-in weapons. Well, they can, but that' messy business that we don't need to discuss. So, are ya willin' to push yourself to the limit as a brawler?
  378. --Brawlers don't waste their time strapping on bulky armor. Sometimes the only weapons they use are their fists, and they dodge their opponent's blows with the swiftness of a hawk. Do you choose this path?
  379. --If you're a true brawler, you need to undergo a challenge. In order to join the ranks of the brawlers here in Qeynos, you gotta prove your skills. Enter the dojo and go fist to fist against another brawler. If you manage to defeat 'em, you'll become that which you seek.
  380. --Thank you, Dagorel. I won't forget your lessons.
  381. --Aye, aye. The watchmen informed me. They say you held your own. That's what I want to hear! You had to prove your fightin' skills--I don't want anyone accusing ol' Dagorel of sending ill-equipped kids off to their deaths. You proved you got what it takes, kid. Good work.
  382. --Yes. I will train everyday to master the art of pugilism. I am a brawler.
  383. --I like relying on my fists in battle. I want to be a brawler.
  384. --
  385. --Understand one more thing as well ... when you defeat your last opponent, meditate at the altar in the dojo. A brawler is not only strong of body but also of mind. Strengthening both is mandatory. Once you do this, you'll have proven yourself.
  386. --BRAWLER ALTAR A cool breeze swirls around you, sending a tingle up the back of your spine. You arise from the altar and know in your soul that you are a brawler.
  387. --CRUSADER START It's not as easy as that, youngin'. You don't just declare yourself a crusader, or did you learn nothing from my previous lessons? No, crusader is a title earned by those with enough heart to consider the fair city of Qeynos and its inhabitants first and themselves a distant second.
  388. --
  389. --A warrior, are ya? You're sayin' that the best way to fix a problem is with a bit of hammered steel? Aye, I agree with that! When you got a slaverin' gnoll runnin' at you, hard bent for leather, well, you'd be a ninny not to draw steel. So, the life of the warrior is your path in life, is it?
  390. --I like having a commanding presence in battle. I want to be a crusader.
  391. --
  392. --Though all warriors fight for a cause, none have as strong a conviction as a crusader. Crusaders live to fight another day ... and another ... and another... They never stop, for they know their next opponent waits to take everything they've earned.
  393. --It's not as easy as that, youngin'. You don't just declare yourself a crusader, or did you learn nothing from my previous lessons? No, crusader is a title earned by those with enough heart to consider the fair city of Qeynos and its inhabitants first and themselves a distant second.
  394. --Yes. I prefer to take care of a problem, rather than let it take care of me. I am a warrior!
  395. --Whoa, now! Not yet, you're not! You have to prove you can last in the fray. You didn't think I'd wave a magic wand and make you a warrior, did you? No, no, we got a make shift arena set up in the warehouse, where you'll prove yourself, a true warrior of Qeynos. No need to return to me, I've taught you all I can.