Advertisement
botters

New NPs Warrior With Fist Skills

Sep 8th, 2016
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.93 KB | None | 0 0
  1. #region WarriorGod
  2. case 10001:
  3. {
  4. dialog.Avatar(8);
  5. switch (npcRequest.OptionID)
  6. {
  7. case 0:
  8. {
  9. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  10. {
  11. dialog.Text("Warriors destory the enemies and sgield the Compatriots. but remember violence is a means of attaining a goal. Never let yourself sink into killing [MyThs-Co].");
  12. dialog.Option("Learn Skills for Fist.", 7);
  13. dialog.Option("Promote me.", 1);
  14. dialog.Option("Learn Shiled skills.", 2);
  15. dialog.Option("Learn Weapon skills.", 8);
  16. dialog.Option("Learn Pure skills.", 17);
  17. // dialog.Option("Claim bound items.", 49);
  18. dialog.Option("Wait a minute.", 255);
  19. dialog.Send();
  20. }
  21. else
  22. {
  23. dialog.Text("Only a warrior can learn what I have to teach. Our secrets are not for trade.");
  24. dialog.Option("I~understand.", 255);
  25. dialog.Send();
  26. }
  27. break;
  28. }
  29. #region BoundItems
  30. case 49:
  31. {
  32. dialog.Text("Hey how I can help you ? ");
  33. if (!client.BootsClaim)
  34. dialog.Option("Boots +2 - Free ", 53);
  35. if (!client.NecklaceClaim)
  36. dialog.Option("Necklace +2 - Free ", 30);
  37. if (!client.FanClaim)
  38. dialog.Option("Fan +2 - Free ", 4);
  39. if (!client.TowerClaim)
  40. dialog.Option("Tower +2 - Free ", 22);
  41. if (!client.ArmorClaim)
  42. dialog.Option("Armor +2 - Free", 27);
  43. if (!client.HeadgearClaim)
  44. dialog.Option("HeadGear +2 - Free", 34);
  45. if (!client.WeaponClaim)
  46. dialog.Option("Weapone +2 - Free", 26);
  47. if (!client.RingClaim)
  48. dialog.Option("Ring +2 - Free", 23);
  49. dialog.Send();
  50. break;
  51. }
  52. case 22:
  53. {
  54. uint itemid = 202009;
  55. byte level = 100;
  56. if (!client.TowerClaim)
  57. {
  58. if (client.Player.Level >= level)
  59. {
  60. ConquerItem item = new ConquerItem(true);
  61.  
  62. item.ID = itemid; item.Color = COServer.Game.Enums.Color.White;
  63. item.Durability = item.MaximDurability = COServer.Database
  64. .ConquerItemInformation.BaseInformations[itemid].Durability;
  65. item.Bound = true;
  66. item.Plus = 5;
  67. //item.SocketOne = COServer.Game.Enums.Gem.SuperGloryGem;
  68. //item.SocketTwo = COServer.Game.Enums.Gem.SuperGloryGem;
  69. if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
  70. {
  71. client.TowerClaim = true;
  72. }
  73. else
  74. {
  75. dialog.Text("You need atleast one free slot in your inventory.");
  76. dialog.Option("Alright.", 255);
  77. dialog.Avatar(215);
  78. dialog.Send();
  79. }
  80. }
  81. else
  82. {
  83. dialog.Text("You don't have atleast level " + level + ".");
  84. dialog.Option("Alright.", 255);
  85. dialog.Avatar(215);
  86. dialog.Send();
  87. }
  88. }
  89. else
  90. {
  91. dialog.Text("You cannot claim it twice.");
  92. dialog.Option("Alright.", 255);
  93. dialog.Avatar(215);
  94. dialog.Send();
  95. }
  96. break;
  97. }
  98. case 4:
  99. {
  100. uint itemid = 201009;
  101. byte level = 100;
  102. if (!client.FanClaim)
  103. {
  104. if (client.Player.Level >= level)
  105. {
  106. ConquerItem item = new ConquerItem(true);
  107.  
  108. item.ID = itemid; item.Color = COServer.Game.Enums.Color.White;
  109. item.Durability = item.MaximDurability = COServer.Database
  110. .ConquerItemInformation.BaseInformations[itemid].Durability;
  111. item.Bound = true;
  112. item.Plus = 5;
  113. //item.SocketOne = COServer.Game.Enums.Gem.SuperThunderGem;
  114. //item.SocketTwo = COServer.Game.Enums.Gem.SuperThunderGem;
  115. if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
  116. {
  117. client.FanClaim = true;
  118. }
  119. else
  120. {
  121. dialog.Text("You need atleast one free slot in your inventory.");
  122. dialog.Option("Alright.", 255);
  123. dialog.Avatar(215);
  124. dialog.Send();
  125. }
  126. }
  127. else
  128. {
  129. dialog.Text("You don't have atleast level " + level + ".");
  130. dialog.Option("Alright.", 255);
  131. dialog.Avatar(215);
  132. dialog.Send();
  133. }
  134. }
  135. else
  136. {
  137. dialog.Text("You cannot claim it twice.");
  138. dialog.Option("Alright.", 255);
  139. dialog.Avatar(215);
  140. dialog.Send();
  141. }
  142. break;
  143. }
  144. case 30:
  145. {
  146. uint itemid = 120129;
  147. ConquerItem items = new ConquerItem(true);
  148. items.ID = itemid;
  149. items.Color = COServer.Game.Enums.Color.White;
  150. items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
  151. items.Bound = true;
  152. items.Plus = 2;
  153. //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
  154. //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
  155. if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
  156. {
  157. client.NecklaceClaim = true;
  158. }
  159. break;
  160. }
  161.  
  162. case 53:
  163. {
  164. uint itemid = 160139;
  165. ConquerItem items = new ConquerItem(true);
  166. items.ID = itemid;
  167. items.Color = COServer.Game.Enums.Color.White;
  168. items.Plus = 2;
  169. items.Bound = true;
  170. //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
  171. //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
  172. items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
  173. if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
  174. {
  175. client.BootsClaim = true;
  176. }
  177. break;
  178. }
  179. case 23:
  180. {
  181. uint itemid = 150139;
  182. ConquerItem items = new ConquerItem(true);
  183. items.ID = itemid;
  184. items.Color = COServer.Game.Enums.Color.White;
  185. items.Plus = 2;
  186. items.Bound = true;
  187. //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
  188. //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
  189. items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
  190. if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
  191. {
  192. client.RingClaim = true;
  193. }
  194. break;
  195. }
  196. case 26:
  197. {
  198. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  199. {
  200. uint itemid = 900139;
  201. ConquerItem itemss = new ConquerItem(true);
  202. itemss.ID = itemid;
  203. itemss.Color = COServer.Game.Enums.Color.White;
  204. itemss.Plus = 2;
  205. itemss.Bound = true;
  206. //itemss.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
  207. //itemss.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
  208. itemss.Durability = itemss.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
  209. if (client.Inventory.Add(itemss, COServer.Game.Enums.ItemUse.CreateAndAdd))
  210. {
  211. client.WeaponClaim = true;
  212. }
  213. ConquerItem items = new ConquerItem(true);
  214. items.ID = 561139;
  215. items.Color = COServer.Game.Enums.Color.White;
  216. items.Plus = 2;
  217. items.Bound = true;
  218. //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
  219. //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
  220. items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
  221. if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
  222. {
  223. client.WeaponClaim = true;
  224. }
  225. }
  226. break;
  227. }
  228. case 27:
  229. {
  230. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  231. {
  232. uint itemid = 131069;
  233.  
  234. ConquerItem items = new ConquerItem(true);
  235. items.ID = itemid;
  236. items.Color = COServer.Game.Enums.Color.White;
  237. items.Plus = 2;
  238. items.Bound = true;
  239. //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
  240. //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
  241. items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
  242. if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
  243. {
  244. client.ArmorClaim = true;
  245. }
  246. }
  247. break;
  248. }
  249. case 34:
  250. {
  251. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  252. {
  253. uint itemid = 111069;
  254. ConquerItem items = new ConquerItem(true);
  255. items.ID = itemid;
  256. items.Color = COServer.Game.Enums.Color.White;
  257. items.Plus = 2;
  258. items.Bound = true;
  259. //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
  260. //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
  261. items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
  262. if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
  263. {
  264. client.HeadgearClaim = true;
  265. }
  266. }
  267. break;
  268. }
  269. #endregion
  270. #region Promote
  271. case 1:
  272. {
  273. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  274. {
  275. if (client.Player.Class == 25)
  276. {
  277. dialog.Text("You cannot be promoted anymore. You have mastered your class.");
  278. dialog.Option("Thank you master.", 255);
  279. dialog.Send();
  280. }
  281. else
  282. {
  283. dialog.Text("To promote now you need" + client.PromoteItemNameNeed + " level " + client.PromoteLevelNeed + ".");
  284. dialog.Option("Promote me sir.", 3);
  285. dialog.Send();
  286. }
  287. }
  288. else
  289. {
  290. dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
  291. dialog.Option("Alright.", 255);
  292. dialog.Send();
  293. }
  294. break;
  295. }
  296. case 3:
  297. {
  298. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  299. {
  300. if (client.Player.Class == 25)
  301. {
  302. dialog.Text("You cannot be promoted anymore. You have mastered your class.");
  303. dialog.Option("Thank you master.", 255);
  304. dialog.Send();
  305. }
  306. else
  307. {
  308. if (client.PromoteItemNeed == 721020)
  309. {
  310. if (client.Inventory.Remove("moonbox"))
  311. {
  312. client.Inventory.Add(client.PromoteItemGain, 0, 1);
  313. client.Player.Class++;
  314. client.Player.Update(_String.Mode.Effect, "end_task", true);
  315. dialog.Text("Congratulations! You have been promoted.");
  316. dialog.Option("Thank you master.", 255);
  317. dialog.Send();
  318. }
  319. else
  320. {
  321. dialog.Text("You don't meet the requierments.");
  322. dialog.Option("Ahh.", 255);
  323. dialog.Send();
  324. }
  325. return;
  326. }
  327. if (client.Inventory.Contains(client.PromoteItemNeed, client.PromoteItemCountNeed) && client.Player.Level >= client.PromoteLevelNeed)
  328. {
  329. client.Inventory.Remove(client.PromoteItemNeed, client.PromoteItemCountNeed);
  330. client.Inventory.Add(client.PromoteItemGain, 0, 1);
  331. client.Player.Class++;
  332. client.Player.Update(_String.Mode.Effect, "end_task", true);
  333. dialog.Text("Congratulations! You have been promoted.");
  334. dialog.Option("Thank you master.", 255);
  335. dialog.Send();
  336. }
  337. else
  338. {
  339. dialog.Text("You don't meet the requierments.");
  340. dialog.Option("Ahh.", 255);
  341. dialog.Send();
  342. }
  343. }
  344. }
  345. else
  346. {
  347. dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
  348. dialog.Option("Alright.", 255);
  349. dialog.Send();
  350. }
  351. break;
  352. }
  353. #endregion
  354. #region all Skills
  355. case 2:
  356. {
  357. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  358. {
  359. dialog.Text("Let me know what you want to learn.");
  360. dialog.Option("XP Skills (Lvl 40).", 5);
  361. dialog.Option("Dash (Lvl 61).", 6);
  362. dialog.Option("Shield Block (Lvl 40).", 9);
  363. dialog.Option("Defensive Stance (Lvl 70).", 10);
  364. dialog.Option("Magic Defender (Lvl 40).", 11);
  365. dialog.Send();
  366. }
  367. else
  368. {
  369. dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
  370. dialog.Option("Alright.", 255);
  371. dialog.Send();
  372. }
  373. break;
  374. }
  375. case 7:
  376. {
  377. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  378. {
  379. dialog.Text("If You`r interested in the skills for fist. I`m glad to give some guidance.");
  380. dialog.Option("Sceare of Earth. (Lv.40).", 77);
  381. dialog.Option("Wave or Blood (Lv.40).", 88);
  382. dialog.Option("Maniac Dance.(Lv.40).", 99);
  383. dialog.Option("Twist of war.(Lv.70).", 55);
  384. dialog.Option("Backfire (Lvl 40).", 66);
  385. dialog.Send();
  386. }
  387. else
  388. {
  389. dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
  390. dialog.Option("Alright.", 255);
  391. dialog.Send();
  392. }
  393. break;
  394. }
  395. #region Sceare
  396. case 77:
  397. {
  398. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  399. {
  400. if (client.Player.Level >= 40)
  401. {
  402. dialog.Text("You have learned the Sceare of Earth of this Fist.");
  403. dialog.Option("Thank you master.", 255);
  404. dialog.Send();
  405. client.AddSpell(LearnableSpell(12670));
  406. if (!client.AddSpell(LearnableSpell(12670)))
  407. {
  408. dialog.Text("You already know this skill.");
  409. dialog.Option("Thank you master.", 255);
  410. dialog.Send();
  411. }
  412. }
  413. else
  414. {
  415. dialog.Text("Sorry , you can't get Sceare of Earth because you are not level 40 or more.");
  416. dialog.Option("Alright.", 255);
  417. dialog.Send();
  418. }
  419. }
  420. else
  421. {
  422. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  423. dialog.Option("Alright.", 255);
  424. dialog.Send();
  425. }
  426. break;
  427. }
  428. #endregion
  429. #region Wave or Blood
  430. case 88:
  431. {
  432. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  433. {
  434. if (client.Player.Level >= 70)
  435. {
  436. dialog.Text("You have learned the Wave or Blood of this class.");
  437. dialog.Option("Thank you master.", 255);
  438. dialog.Send();
  439. client.AddSpell(LearnableSpell(12690));
  440. if (!client.AddSpell(LearnableSpell(12690)))
  441. {
  442. dialog.Text("You already know this skill.");
  443. dialog.Option("Thank you master.", 255);
  444. dialog.Send();
  445.  
  446. }
  447. }
  448. else
  449. {
  450. dialog.Text("Sorry , you can't get Wave or Blood because you are not level 40 or more.");
  451. dialog.Option("Alright.", 255);
  452. dialog.Send();
  453. }
  454. }
  455. else
  456. {
  457. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  458. dialog.Option("Alright.", 255);
  459. dialog.Send();
  460. }
  461. break;
  462. }
  463. #endregion
  464. #region Maniac Dance
  465. case 99:
  466. {
  467. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  468. {
  469. if (client.Player.Level >= 40)
  470. {
  471. dialog.Text("You have learned the Maniac Dance of this class.");
  472. dialog.Option("Thank you master.", 255);
  473. dialog.Send();
  474. client.AddSpell(LearnableSpell(12700));
  475. if (!client.AddSpell(LearnableSpell(12700)))
  476. {
  477. dialog.Text("You already know this skill.");
  478. dialog.Option("Thank you master.", 255);
  479. dialog.Send();
  480.  
  481. }
  482. }
  483. else
  484. {
  485. dialog.Text("Sorry , you can't get Maniac Dance because you are not level 40 or more.");
  486. dialog.Option("Alright.", 255);
  487. dialog.Send();
  488. }
  489. }
  490. else
  491. {
  492. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  493. dialog.Option("Alright.", 255);
  494. dialog.Send();
  495. }
  496. break;
  497. }
  498. #endregion
  499. #region Twist of war
  500. case 55:
  501. {//youssef
  502. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  503. {
  504. if (client.Player.Level >= 70)
  505. {
  506. dialog.Text("You have learned the Twist of war of this class.");
  507. dialog.Option("Thank you master.", 255);
  508. dialog.Send();
  509. client.AddSpell(LearnableSpell(12660));
  510. if (!client.AddSpell(LearnableSpell(12660)))
  511. {
  512. dialog.Text("You already know this skill.");
  513. dialog.Option("Thank you master.", 255);
  514. dialog.Send();
  515.  
  516. }
  517. }
  518. else
  519. {
  520. dialog.Text("Sorry , you can't get Twist of war because you are not level 40 or more.");
  521. dialog.Option("Alright.", 255);
  522. dialog.Send();
  523. }
  524. }
  525. else
  526. {
  527. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  528. dialog.Option("Alright.", 255);
  529. dialog.Send();
  530. }
  531. break;
  532. }
  533. #endregion
  534. #region Back Fire
  535. case 66:
  536. {
  537. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  538. {//youssef
  539. if (client.Player.Level >= 61)
  540. {
  541. dialog.Text("You have learned the Twist of war Skill of this class.");
  542. dialog.Option("Thank you master.", 255);
  543. dialog.Send();
  544. client.AddSpell(LearnableSpell(12680));
  545. if (!client.AddSpell(LearnableSpell(12680)))
  546. {
  547. dialog.Text("You already know this skill.");
  548. dialog.Option("Thank you master.", 255);
  549. dialog.Send();
  550. }
  551. }
  552. else
  553. {
  554. dialog.Text("You need to be level 61 or more.");
  555. dialog.Option("Alright.", 255);
  556. dialog.Send();
  557. }
  558. }
  559. else
  560. {
  561. dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
  562. dialog.Option("Alright.", 255);
  563. dialog.Send();
  564. }
  565. break;
  566. }
  567. #endregion
  568. case 8:
  569. {
  570. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  571. {
  572. if (client.Player.Level >= 40)
  573. {
  574. dialog.Text("You have learned the Fast/Sceand of this class.");
  575. dialog.Option("Thank you master.", 255);
  576. dialog.Send();
  577. client.AddSpell(LearnableSpell(1045));
  578. client.AddSpell(LearnableSpell(1046));
  579. if (!client.AddSpell(LearnableSpell(1045)))
  580. if (!client.AddSpell(LearnableSpell(1046)))
  581. {
  582. dialog.Text("You already know this skill.");
  583. dialog.Option("Thank you master.", 255);
  584. dialog.Send();
  585. }
  586. }
  587. else
  588. {
  589. dialog.Text("Sorry , you can't get Fast/Sceand because you are not level 40 or more.");
  590. dialog.Option("Alright.", 255);
  591. dialog.Send();
  592. }
  593. }
  594. else
  595. {
  596. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  597. dialog.Option("Alright.", 255);
  598. dialog.Send();
  599. }
  600. break;
  601. }
  602. case 17:
  603. {
  604. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  605. {
  606. if (client.Player.Level >= 40)
  607. {
  608. dialog.Text("You have learned the Perseverance of this class.");
  609. dialog.Option("Thank you master.", 255);
  610. dialog.Send();
  611. client.AddSpell(LearnableSpell(10311));
  612. if (!client.AddSpell(LearnableSpell(10311)))
  613. {
  614. dialog.Text("You already know this skill.");
  615. dialog.Option("Thank you master.", 255);
  616. dialog.Send();
  617. }
  618. }
  619. else
  620. {
  621. dialog.Text("Sorry , you can't get Perseverance because you are not level 40 or more.");
  622. dialog.Option("Alright.", 255);
  623. dialog.Send();
  624. }
  625. }
  626. else
  627. {
  628. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  629. dialog.Option("Alright.", 255);
  630. dialog.Send();
  631. }
  632. break;
  633. }
  634. case 11:
  635. {
  636. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  637. {
  638. if (client.Player.Level >= 40)
  639. {
  640. dialog.Text("You have learned the Magic Defender of this class.");
  641. dialog.Option("Thank you master.", 255);
  642. dialog.Send();
  643. client.AddSpell(LearnableSpell(11200));
  644. if (!client.AddSpell(LearnableSpell(11200)))
  645. {
  646. dialog.Text("You already know this skill.");
  647. dialog.Option("Thank you master.", 255);
  648. dialog.Send();
  649. }
  650. }
  651. else
  652. {
  653. dialog.Text("Sorry , you can't get Magic Defender because you are not level 40 or more.");
  654. dialog.Option("Alright.", 255);
  655. dialog.Send();
  656. }
  657. }
  658. else
  659. {
  660. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  661. dialog.Option("Alright.", 255);
  662. dialog.Send();
  663. }
  664. break;
  665. }
  666. case 10:
  667. {
  668. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  669. {
  670. if (client.Player.Level >= 70)
  671. {
  672. dialog.Text("You have learned the Defensive Stance of this class.");
  673. dialog.Option("Thank you master.", 255);
  674. dialog.Send();
  675. client.AddSpell(LearnableSpell(11160));
  676. if (!client.AddSpell(LearnableSpell(11160)))
  677. {
  678. dialog.Text("You already know this skill.");
  679. dialog.Option("Thank you master.", 255);
  680. dialog.Send();
  681.  
  682. }
  683. }
  684. else
  685. {
  686. dialog.Text("Sorry , you can't get Defensive Stance because you are not level 40 or more.");
  687. dialog.Option("Alright.", 255);
  688. dialog.Send();
  689. }
  690. }
  691. else
  692. {
  693. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  694. dialog.Option("Alright.", 255);
  695. dialog.Send();
  696. }
  697. break;
  698. }
  699. case 9:
  700. {
  701. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  702. {
  703. if (client.Player.Level >= 40)
  704. {
  705. dialog.Text("You have learned the Shield Block of this class.");
  706. dialog.Option("Thank you master.", 255);
  707. dialog.Send();
  708. client.AddSpell(LearnableSpell(10470));
  709. if (!client.AddSpell(LearnableSpell(10470)))
  710. {
  711. dialog.Text("You already know this skill.");
  712. dialog.Option("Thank you master.", 255);
  713. dialog.Send();
  714.  
  715. }
  716. }
  717. else
  718. {
  719. dialog.Text("Sorry , you can't get Shield Block because you are not level 40 or more.");
  720. dialog.Option("Alright.", 255);
  721. dialog.Send();
  722. }
  723. }
  724. else
  725. {
  726. dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
  727. dialog.Option("Alright.", 255);
  728. dialog.Send();
  729. }
  730. break;
  731. }
  732. case 5:
  733. {
  734. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  735. {
  736. if (client.Player.Level >= 40)
  737. {
  738. dialog.Text("You have learned the XP Skills of this class.");
  739. dialog.Option("Thank you master.", 255);
  740. dialog.Send();
  741. client.AddSpell(LearnableSpell(1025));
  742. client.AddSpell(LearnableSpell(1020));
  743. client.AddSpell(LearnableSpell(1015));
  744. }
  745. else
  746. {
  747. dialog.Text("You need to be level 40 or more.");
  748. dialog.Option("Alright.", 255);
  749. dialog.Send();
  750. }
  751. }
  752. else
  753. {
  754. dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
  755. dialog.Option("Alright.", 255);
  756. dialog.Send();
  757. }
  758. break;
  759. }
  760. case 6:
  761. {
  762. if (client.Player.Class >= 20 && client.Player.Class <= 25)
  763. {
  764. if (client.Player.Level >= 61)
  765. {
  766. dialog.Text("You have learned the Dash Skill of this class.");
  767. dialog.Option("Thank you master.", 255);
  768. dialog.Send();
  769. client.AddSpell(LearnableSpell(1051));
  770. if (!client.AddSpell(LearnableSpell(1051)))
  771. {
  772. dialog.Text("You already know this skill.");
  773. dialog.Option("Thank you master.", 255);
  774. dialog.Send();
  775. }
  776. }
  777. else
  778. {
  779. dialog.Text("You need to be level 61 or more.");
  780. dialog.Option("Alright.", 255);
  781. dialog.Send();
  782. }
  783. }
  784. else
  785. {
  786. dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
  787. dialog.Option("Alright.", 255);
  788. dialog.Send();
  789. }
  790. break;
  791. }
  792. #endregion
  793. }
  794. break;
  795. }
  796. #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement