Advertisement
Guest User

Untitled

a guest
Mar 18th, 2015
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.59 KB | None | 0 0
  1. #include <tchar.h>
  2. #define _tWinMain wWinMain
  3. #include <iostream>
  4. #include <ctime>
  5. #include <string>
  6. using namespace std;
  7.  
  8. int _tmain()
  9. {
  10. double number;
  11. srand(time(NULL));
  12.  
  13.  
  14. cout << "How many times are we rolling today?";
  15. std::cin >> number;
  16. for (int x = 0; x < number; x++)
  17. {
  18. double random;
  19. random = (rand() % (100) + 1);
  20. double gold;
  21. gold = (random * 5);
  22. double d10;
  23. double d102;
  24. double weapon;
  25. weapon = (rand() % (10) + 1);
  26. d10 = (rand() % (10) + 1);
  27. d102 = (rand() % (10) + 1);
  28. bool formal = "";
  29. double quartz;
  30. double quartz2;
  31. double quartz3;
  32. double insect;
  33. double oak;
  34. double fault;
  35. double dragon;
  36. double scales;
  37. double cactus;
  38. double blooms;
  39. double moredust;
  40. double moreshell;
  41. double morescales;
  42. double moreblooms;
  43. double ruby;
  44. double silver;
  45. double hide;
  46. double enchant;
  47. double enchant2;
  48. quartz = (rand() % ((10) + 1) * 5);
  49. quartz2 = (rand() % (10 + 1) * 10);
  50. quartz3 = (rand() % (10 + 1) * 20);
  51. insect = (rand() % (10) + 1);
  52. oak = (rand() % (10 + 1)) / 2;
  53. fault = (rand() % (10 + 1) / 3);
  54. dragon = (rand() % (10 + 1) / 5);
  55. scales = (rand() % (10 + 1));
  56. cactus = (rand() % (10 + 1));
  57. blooms = (rand() % (10 + 1) * 2);
  58. moredust = (rand() % (10 + 1) / 2);
  59. moreshell = (rand() % (10 + 1) / 3);
  60. moreblooms = (rand() % (10 + 1) * 3);
  61. ruby = (rand() % ((10) + 1)) / 5;
  62. silver = (rand() % (10 + 1) / 5);
  63. hide = (rand() % ((10) + 1) / 5);
  64. enchant = (rand() % (10 + 1) / 3);
  65. enchant2 = (rand() % (10 + 1) / 2);
  66. morescales = (rand() % (10 + 1) * 2);
  67. cout << "You rolled " << random << endl;
  68. if (random >= 1 & random <= 20)
  69. {
  70. cout << "You get " << gold << "Gold";
  71. }
  72. else if (random > 20 & random <= 40)
  73. {
  74. cout << "You get a formal vessel! Rolling to see what kind of vessel you get: " << endl;
  75. if (d10 == 1)
  76. {
  77. cout << "You get a dagger! Rolling to see what kind of dagger you get \n";
  78. if (weapon == 1)
  79. {
  80. cout << "You get a Cold Wrought Iron Dagger!";
  81. }
  82. else if (weapon == 2)
  83. {
  84. cout << "You get a Cold Wrought Iron Dagger!";
  85. }
  86. else if (weapon == 3)
  87. {
  88. cout << "You get a Silver Dagger!";
  89. }
  90. else if (weapon == 4)
  91. {
  92. cout << "You get a Silver Dagger!";
  93. }
  94. else if (weapon == 5)
  95. {
  96. cout << "You get a Crystal Dagger!";
  97. }
  98. else if (weapon == 6)
  99. {
  100. cout << "You get a Crystal Dagger!";
  101. }
  102. else if (weapon == 7)
  103. {
  104. cout << "You get a Gold Dagger!";
  105. }
  106. else if (weapon == 8)
  107. {
  108. cout << "You get a Gold Dagger!";
  109. }
  110. else if (weapon == 9)
  111. {
  112. cout << "You get a Gemstone Dagger!";
  113. }
  114. else if (weapon == 10)
  115. {
  116. cout << "You get a Gemstone Dagger!";
  117. }
  118. }
  119. else if (d10 == 2)
  120. {
  121. cout << "You get a Shortsword! Rolling to see what kind of Shortsword you get: \n";
  122. if (weapon == 1)
  123. {
  124. cout << "You get a Cold Wrought Iron Shortsword!";
  125. }
  126. else if (weapon == 2)
  127. {
  128. cout << "You get a Cold Wrought Iron Shortsword!";
  129. }
  130. else if (weapon == 3)
  131. {
  132. cout << "You get a Silver Shortsword!";
  133. }
  134. else if (weapon == 4)
  135. {
  136. cout << "You get a Silver Shortsword!";
  137. }
  138. else if (weapon == 5)
  139. {
  140. cout << "You get a Crystal Shortsword!";
  141. }
  142. else if (weapon == 6)
  143. {
  144. cout << "You get a Crystal Shortsword!";
  145. }
  146. else if (weapon == 7)
  147. {
  148. cout << "You get a Gold Shortsword!";
  149. }
  150. else if (weapon == 8)
  151. {
  152. cout << "You get a Gold Shortsword!";
  153. }
  154. else if (weapon == 9)
  155. {
  156. cout << "You get a Gemstone Shortsword!";
  157. }
  158. else if (weapon == 10)
  159. {
  160. cout << "You get a Gemstone Shortsword!";
  161. }
  162. }
  163. else if (d10 == 3)
  164. {
  165. cout << "You get a Longsword or Spear! Rolling to see what kind of Longsword or Spear you get: \n";
  166. if (weapon == 1)
  167. {
  168. cout << "You get a Cold Wrought Iron Longsword or Spear!";
  169. }
  170. else if (weapon == 2)
  171. {
  172. cout << "You get a Cold Wrought Iron Longsword or Spear!";
  173. }
  174. else if (weapon == 3)
  175. {
  176. cout << "You get a Silver Longsword or Spear!";
  177. }
  178. else if (weapon == 4)
  179. {
  180. cout << "You get a Silver Longsword or Spear!";
  181. }
  182. else if (weapon == 5)
  183. {
  184. cout << "You get a Crystal Longsword or Spear!";
  185. }
  186. else if (weapon == 6)
  187. {
  188. cout << "You get a Crystal Longsword or Spear!";
  189. }
  190. else if (weapon == 7)
  191. {
  192. cout << "You get a Gold Longsword or Spear!";
  193. }
  194. else if (weapon == 8)
  195. {
  196. cout << "You get a Gold Longsword or Spear!";
  197. }
  198. else if (weapon == 9)
  199. {
  200. cout << "You get a Gemstone Longsword or Spear!";
  201. }
  202. else if (weapon == 10)
  203. {
  204. cout << "You get a Gemstone Longsword or Spear!";
  205. }
  206. }
  207. else if (d10 == 4)
  208. {
  209. cout << "You get a Mace or Hammer! Rolling to see what kind of Mace or Hammer you get: \n";
  210. if (weapon == 1)
  211. {
  212. cout << "You get a Cold Wrought Iron Mace or Hammer!";
  213. }
  214. else if (weapon == 2)
  215. {
  216. cout << "You get a Cold Wrought Iron Mace or Hammer!";
  217. }
  218. else if (weapon == 3)
  219. {
  220. cout << "You get a Silver Mace or Hammer!";
  221. }
  222. else if (weapon == 4)
  223. {
  224. cout << "You get a Silver Mace or Hammer!";
  225. }
  226. else if (weapon == 5)
  227. {
  228. cout << "You get a Crystal Mace or Hammer!";
  229. }
  230. else if (weapon == 6)
  231. {
  232. cout << "You get a Crystal Mace or Hammer!";
  233. }
  234. else if (weapon == 7)
  235. {
  236. cout << "You get a Gold Mace or Hammer!";
  237. }
  238. else if (weapon == 8)
  239. {
  240. cout << "You get a Gold Mace or Hammer!";
  241. }
  242. else if (weapon == 9)
  243. {
  244. cout << "You get a Gemstone Mace or Hammer!";
  245. }
  246. else if (weapon == 10)
  247. {
  248. cout << "You get a Gemstone Mace or Hammer!";
  249. }
  250. }
  251. else if (d10 == 5)
  252. {
  253. cout << "You get a piece of jewelry! Rolling to see what material your jewelry is made out of: \n";
  254. if (weapon == 1)
  255. {
  256. cout << "You get a Cold Wrought Iron piece of jewelry!";
  257. }
  258. else if (weapon == 2)
  259. {
  260. cout << "You get a Cold Wrought Iron piece of jewelry!";
  261. }
  262. else if (weapon == 3)
  263. {
  264. cout << "You get a Silver piece of jewelry!";
  265. }
  266. else if (weapon == 4)
  267. {
  268. cout << "You get a Silver piece of jewelry!";
  269. }
  270. else if (weapon == 5)
  271. {
  272. cout << "You get a Crystal piece of jewelry!";
  273. }
  274. else if (weapon == 6)
  275. {
  276. cout << "You get a Crystal piece of jewelry!";
  277. }
  278. else if (weapon == 7)
  279. {
  280. cout << "You get a Gold piece of jewelry!";
  281. }
  282. else if (weapon == 8)
  283. {
  284. cout << "You get a Gold piece of jewelry!";
  285. }
  286. else if (weapon == 9)
  287. {
  288. cout << "You get a Gemstone piece of jewelry!";
  289. }
  290. else if (weapon == 10)
  291. {
  292. cout << "You get a Gemstone piece of jewelry!";
  293. }
  294. }
  295. else if (d10 == 6)
  296. {
  297. cout << "You get a piece of jewelry! Rolling to see what material your jewelry is made out of: \n";
  298. if (weapon == 1)
  299. {
  300. cout << "You get a Cold Wrought Iron piece of jewelry!";
  301. }
  302. else if (weapon == 2)
  303. {
  304. cout << "You get a Cold Wrought Iron piece of jewelry!";
  305. }
  306. else if (weapon == 3)
  307. {
  308. cout << "You get a Silver piece of jewelry!";
  309. }
  310. else if (weapon == 4)
  311. {
  312. cout << "You get a Silver piece of jewelry!";
  313. }
  314. else if (weapon == 5)
  315. {
  316. cout << "You get a Crystal piece of jewelry!";
  317. }
  318. else if (weapon == 6)
  319. {
  320. cout << "You get a Crystal piece of jewelry!";
  321. }
  322. else if (weapon == 7)
  323. {
  324. cout << "You get a Gold piece of jewelry!";
  325. }
  326. else if (weapon == 8)
  327. {
  328. cout << "You get a Gold piece of jewelry!";
  329. }
  330. else if (weapon == 9)
  331. {
  332. cout << "You get a Gemstone piece of jewelry!";
  333. }
  334. else if (weapon == 10)
  335. {
  336. cout << "You get a Gemstone piece of jewelry!";
  337. }
  338. }
  339. else if (d10 == 7)
  340. {
  341. cout << "You get a Wand! Rolling to see what kind of Wand you get: \n";
  342. if (weapon == 1)
  343. {
  344. cout << "You get a Cold Wrought Iron Wand!";
  345. }
  346. else if (weapon == 2)
  347. {
  348. cout << "You get a Cold Wrought Iron Wand!";
  349. }
  350. else if (weapon == 3)
  351. {
  352. cout << "You get a Silver Wand!";
  353. }
  354. else if (weapon == 4)
  355. {
  356. cout << "You get a Silver Wand!";
  357. }
  358. else if (weapon == 5)
  359. {
  360. cout << "You get a Crystal Wand!";
  361. }
  362. else if (weapon == 6)
  363. {
  364. cout << "You get a Crystal Wand!";
  365. }
  366. else if (weapon == 7)
  367. {
  368. cout << "You get a Gold Wand!";
  369. }
  370. else if (weapon == 8)
  371. {
  372. cout << "You get a Gold Wand!";
  373. }
  374. else if (weapon == 9)
  375. {
  376. cout << "You get a Gemstone Wand!";
  377. }
  378. else if (weapon == 10)
  379. {
  380. cout << "You get a Gemstone Wand!";
  381. }
  382. }
  383. else if (d10 == 8)
  384. {
  385. cout << "You get a two handed weapon! (player's choice). Rolling to see what material your weapon is: \n";
  386. if (weapon == 1)
  387. {
  388. cout << "You get a Cold Wrought Iron two handed weapon!";
  389. }
  390. else if (weapon == 2)
  391. {
  392. cout << "You get a Cold Wrought Iron two handed weapon!";
  393. }
  394. else if (weapon == 3)
  395. {
  396. cout << "You get a Silver two handed weapon!";
  397. }
  398. else if (weapon == 4)
  399. {
  400. cout << "You get a Silver two handed weapon!";
  401. }
  402. else if (weapon == 5)
  403. {
  404. cout << "You get a Crystal two handed weapon!";
  405. }
  406. else if (weapon == 6)
  407. {
  408. cout << "You get a Crystal two handed weapon!";
  409. }
  410. else if (weapon == 7)
  411. {
  412. cout << "You get a Gold two handed weapon!";
  413. }
  414. else if (weapon == 8)
  415. {
  416. cout << "You get a Gold two handed weapon!";
  417. }
  418. else if (weapon == 9)
  419. {
  420. cout << "You get a Gemstone two handed weapon!";
  421. }
  422. else if (weapon == 10)
  423. {
  424. cout << "You get a Gemstone two handed weapon!";
  425. }
  426. }
  427. else if (d10 == 9)
  428. {
  429. cout << "You get a two handed weapon! (player's choice). Rolling to see what material your weapon is: \n";
  430. if (weapon == 1)
  431. {
  432. cout << "You get a Cold Wrought Iron two handed weapon!";
  433. }
  434. else if (weapon == 2)
  435. {
  436. cout << "You get a Cold Wrought two handed weapon!";
  437. }
  438. else if (weapon == 3)
  439. {
  440. cout << "You get a Silver two handed weapon!";
  441. }
  442. else if (weapon == 4)
  443. {
  444. cout << "You get a Silver two handed weapon!";
  445. }
  446. else if (weapon == 5)
  447. {
  448. cout << "You get a Crystal two handed weapon!";
  449. }
  450. else if (weapon == 6)
  451. {
  452. cout << "You get a Crystal two handed weapon!";
  453. }
  454. else if (weapon == 7)
  455. {
  456. cout << "You get a Gold two handed weapon!";
  457. }
  458. else if (weapon == 8)
  459. {
  460. cout << "You get a Gold two handed weapon!";
  461. }
  462. else if (weapon == 9)
  463. {
  464. cout << "You get a Gemstone two handed weapon!";
  465. }
  466. else if (weapon == 10)
  467. {
  468. cout << "You get a Gemstone two handed weapon!";
  469. }
  470. }
  471. else if (d10 == 10)
  472. {
  473. cout << "You get a shield! Rolling to see what material your shield is: \n";
  474. if (weapon == 1)
  475. {
  476. cout << "You get a Cold Wrought Iron Shield!";
  477. }
  478. else if (weapon == 2)
  479. {
  480. cout << "You get a Cold Wrought Iron Shield!";
  481. }
  482. else if (weapon == 3)
  483. {
  484. cout << "You get a Silver Shield!";
  485. }
  486. else if (weapon == 4)
  487. {
  488. cout << "You get a Silver Shield!";
  489. }
  490. else if (weapon == 5)
  491. {
  492. cout << "You get a Crystal Shield!";
  493. }
  494. else if (weapon == 6)
  495. {
  496. cout << "You get a Crystal Shield!";
  497. }
  498. else if (weapon == 7)
  499. {
  500. cout << "You get a Gold Shield!";
  501. }
  502. else if (weapon == 8)
  503. {
  504. cout << "You get a Gold Shield";
  505. }
  506. else if (weapon == 9)
  507. {
  508. cout << "You get a Gemstone Shield!";
  509. }
  510. else if (weapon == 10)
  511. {
  512. cout << "You get a Gemstone Shield!";
  513. }
  514. }
  515.  
  516. }
  517. else if (random > 40 & random <= 60)
  518. {
  519. cout << "You get some formal components! Please choose between Earth or Celestial components: " << endl;
  520. cin >> formal;
  521. if (formal = "Earth")
  522. {
  523. cout << "Rolling to see what kind of Earth components you get: "<< endl;
  524. if (d10 == 1)
  525. {
  526. cout << "You get " << quartz << " quartz!";
  527. }
  528. else if (d10 == 2)
  529. {
  530. cout << "You get " << quartz2 << " quartz!";
  531. }
  532. else if (d10 == 3)
  533. {
  534. cout << "You get " << quartz3 << " quartz!";
  535. }
  536. else if (d10 == 4)
  537. {
  538. cout << "You get " << insect << " insects trapped in Amber!";
  539. }
  540. else if (d10 == 5)
  541. {
  542. cout << "You get " << oak << " hearts of a 100 year old oak!";
  543. }
  544. else if (d10 == 6)
  545. {
  546. cout << "You get " << fault << " dust from a fault line!";
  547. }
  548. else if (d10 == 7)
  549. {
  550. cout << "You get " << dragon << " shells of a dragon turtle!";
  551. }
  552. else if (d10 == 8)
  553. {
  554. cout << "You get " << scales << " dragon scales!";
  555. }
  556. else if (d10 == 9)
  557. {
  558. cout << "You get " << cactus << " blooms of a Century Cactus!";
  559. }
  560. else if (d10 == 10)
  561. {
  562. cout << "You get " << blooms << " blooms of a Century Cactus!";
  563. }
  564. }
  565. else
  566. {
  567. cout << "Rolling to see what kind of Celestial components you get ";
  568. if (d10 == 1)
  569. {
  570. cout << "You get " << quartz << " pumice!";
  571. }
  572. else if (d10 == 2)
  573. {
  574. cout << "You get " << quartz2 << " pumice!";
  575. }
  576. else if (d10 == 3)
  577. {
  578. cout << "You get " << quartz3 << " pumice!";
  579. }
  580. else if (d10 == 4)
  581. {
  582. cout << "You get " << insect << " unbroken quartz geode!";
  583. }
  584. else if (d10 == 5)
  585. {
  586. cout << "You get " << oak << " Celestial dust!";
  587. }
  588. else if (d10 == 6)
  589. {
  590. cout << "You get " << fault << " dust from a Celestial Illusion!";
  591. }
  592. else if (d10 == 7)
  593. {
  594. cout << "You get " << dragon << " Celestial sundials!";
  595. }
  596. else if (d10 == 8)
  597. {
  598. cout << "You get " << scales << " Bronze razor wire!";
  599. }
  600. else if (d10 == 9)
  601. {
  602. cout << "You get " << cactus << " Phoenix feathers!";
  603. }
  604. else if (d10 == 10)
  605. {
  606. cout << "You get " << blooms << " Phoenix feathers!";
  607. }
  608. }
  609. }
  610. else if (random > 60 & random <= 70)
  611. {
  612. cout << "You get a formal vessel! Rolling to see what kind of vessel you get: " << endl;
  613. if (weapon == 1)
  614. {
  615. cout << "You get a dagger! Rolling to see what kind of dagger you get: \n";
  616. if (d10 == 1)
  617. {
  618. cout << "You get a silver dagger!";
  619. }
  620. else if (d10 == 2)
  621. {
  622. cout << "You get a crystal dagger!";
  623. }
  624. else if (d10 == 3)
  625. {
  626. cout << "You get a golden dagger!";
  627. }
  628. else if (d10 == 4)
  629. {
  630. cout << "You get a golden dagger!";
  631. }
  632. else if (d10 == 5)
  633. {
  634. cout << "You get a gemstone dagger!";
  635. }
  636. else if (d10 == 6)
  637. {
  638. cout << "You get a gemstone dagger!";
  639. }
  640. else if (d10 == 7)
  641. {
  642. cout << "You get a golden dagger!";
  643. }
  644. else if (d10 == 8)
  645. {
  646. cout << "You get a golden dagger!";
  647. }
  648. else if (d10 == 9)
  649. {
  650. cout << "You get a golden dagger!";
  651. }
  652. else if (d10 == 10)
  653. {
  654. cout << "You get a golden dagger!";
  655. }
  656. }
  657. else if (weapon == 2)
  658. {
  659. cout << "You get a Shortsword! Rolling to see what kind of Shortsword you get: \n";
  660. if (d10 == 1)
  661. {
  662. cout << "You get a silver shortsword!";
  663. }
  664. else if (d10 == 2)
  665. {
  666. cout << "You get a crystal shortsword!";
  667. }
  668. else if (d10 == 3)
  669. {
  670. cout << "You get a golden shortsword!";
  671. }
  672. else if (d10 == 4)
  673. {
  674. cout << "You get a golden shortsword!";
  675. }
  676. else if (d10 == 5)
  677. {
  678. cout << "You get a gemstone shortsword!";
  679. }
  680. else if (d10 == 6)
  681. {
  682. cout << "You get a gemstone shortsword!";
  683. }
  684. else if (d10 == 7)
  685. {
  686. cout << "You get a golden shortsword!";
  687. }
  688. else if (d10 == 8)
  689. {
  690. cout << "You get a golden shortsword!";
  691. }
  692. else if (d10 == 9)
  693. {
  694. cout << "You get a golden shortsword!";
  695. }
  696. else if (d10 == 10)
  697. {
  698. cout << "You get a golden shortsword!";
  699. }
  700. }
  701. else if (weapon == 3)
  702. {
  703. cout << "You get a Longsword or spear (Player's Choice)! Rolling to see what kind of material it's made out of: \n";
  704. if (d10 == 1)
  705. {
  706. cout << "You get a silver longsword or spear!";
  707. }
  708. else if (d10 == 2)
  709. {
  710. cout << "You get a crystal longsword or spear!";
  711. }
  712. else if (d10 == 3)
  713. {
  714. cout << "You get a golden longsword or spear!";
  715. }
  716. else if (d10 == 4)
  717. {
  718. cout << "You get a golden longsword or spear!";
  719. }
  720. else if (d10 == 5)
  721. {
  722. cout << "You get a gemstone longsword or spear!";
  723. }
  724. else if (d10 == 6)
  725. {
  726. cout << "You get a gemstone longsword or spear!";
  727. }
  728. else if (d10 == 7)
  729. {
  730. cout << "You get a golden longsword or spear!";
  731. }
  732. else if (d10 == 8)
  733. {
  734. cout << "You get a golden longsword or spear!";
  735. }
  736. else if (d10 == 9)
  737. {
  738. cout << "You get a golden longsword or spear!";
  739. }
  740. else if (d10 == 10)
  741. {
  742. cout << "You get a golden longsword or spear!";
  743. }
  744. }
  745. else if (weapon == 4)
  746. {
  747. cout << "You get a Mace or a Hammer! (Player's Choice) Rolling to see what material it's made out of: \n";
  748. if (d10 == 1)
  749. {
  750. cout << "You get a silver Mace or Hammer!";
  751. }
  752. else if (d10 == 2)
  753. {
  754. cout << "You get a crystal Mace or Hammer!";
  755. }
  756. else if (d10 == 3)
  757. {
  758. cout << "You get a golden Mace or Hammer!";
  759. }
  760. else if (d10 == 4)
  761. {
  762. cout << "You get a golden Mace or Hammer!";
  763. }
  764. else if (d10 == 5)
  765. {
  766. cout << "You get a gemstone Mace or Hammer!";
  767. }
  768. else if (d10 == 6)
  769. {
  770. cout << "You get a gemstone Mace or Hammer!";
  771. }
  772. else if (d10 == 7)
  773. {
  774. cout << "You get a golden Mace or Hammer!";
  775. }
  776. else if (d10 == 8)
  777. {
  778. cout << "You get a golden Mace or Hammer!";
  779. }
  780. else if (d10 == 9)
  781. {
  782. cout << "You get a golden Mace or Hammer!";
  783. }
  784. else if (d10 == 10)
  785. {
  786. cout << "You get a golden Mace or Hammer!";
  787. }
  788. }
  789. else if (weapon == 5)
  790. {
  791. cout << "You get a piece of jewelry! Rolling to see what material it's made out of: \n";
  792. if (d10 == 1)
  793. {
  794. cout << "You get a silver piece of jewelry!";
  795. }
  796. else if (d10 == 2)
  797. {
  798. cout << "You get a crystal piece of jewelry!";
  799. }
  800. else if (d10 == 3)
  801. {
  802. cout << "You get a golden piece of jewelry!";
  803. }
  804. else if (d10 == 4)
  805. {
  806. cout << "You get a golden piece of jewelry!";
  807. }
  808. else if (d10 == 5)
  809. {
  810. cout << "You get a gemstone piece of jewelry!";
  811. }
  812. else if (d10 == 6)
  813. {
  814. cout << "You get a gemstone piece of jewelry!";
  815. }
  816. else if (d10 == 7)
  817. {
  818. cout << "You get a golden piece of jewelry!";
  819. }
  820. else if (d10 == 8)
  821. {
  822. cout << "You get a golden piece of jewelry!";
  823. }
  824. else if (d10 == 9)
  825. {
  826. cout << "You get a golden piece of jewelry!";
  827. }
  828. else if (d10 == 10)
  829. {
  830. cout << "You get a golden piece of jewelry!";
  831. }
  832. }
  833. else if (weapon == 6)
  834. {
  835. cout << "You get a piece of jewelry! Rolling to see what it's made out of: \n";
  836. if (d10 == 1)
  837. {
  838. cout << "You get a silver piece of jewelry!";
  839. }
  840. else if (d10 == 2)
  841. {
  842. cout << "You get a crystal piece of jewelry!";
  843. }
  844. else if (d10 == 3)
  845. {
  846. cout << "You get a golden piece of jewelry!";
  847. }
  848. else if (d10 == 4)
  849. {
  850. cout << "You get a golden piece of jewelry!";
  851. }
  852. else if (d10 == 5)
  853. {
  854. cout << "You get a gemstone piece of jewelry!";
  855. }
  856. else if (d10 == 6)
  857. {
  858. cout << "You get a gemstone piece of jewelry!";
  859. }
  860. else if (d10 == 7)
  861. {
  862. cout << "You get a golden piece of jewelry!";
  863. }
  864. else if (d10 == 8)
  865. {
  866. cout << "You get a golden piece of jewelry!";
  867. }
  868. else if (d10 == 9)
  869. {
  870. cout << "You get a golden piece of jewelry!";
  871. }
  872. else if (d10 == 10)
  873. {
  874. cout << "You get a golden piece of jewelry!";
  875. }
  876. }
  877. else if (weapon == 8)
  878. {
  879. cout << "You get a two handed weapon! (Player's choice) Rolling to see what material the weapon is made of: \n";
  880. if (d10 == 1)
  881. {
  882. cout << "You get a silver two handed weapon!";
  883. }
  884. else if (d10 == 2)
  885. {
  886. cout << "You get a crystal two handed weapon!";
  887. }
  888. else if (d10 == 3)
  889. {
  890. cout << "You get a golden two handed weapon!";
  891. }
  892. else if (d10 == 4)
  893. {
  894. cout << "You get a golden two handed weapon!";
  895. }
  896. else if (d10 == 5)
  897. {
  898. cout << "You get a gemstone two handed weapon!";
  899. }
  900. else if (d10 == 6)
  901. {
  902. cout << "You get a gemstone two handed weapon!";
  903. }
  904. else if (d10 == 7)
  905. {
  906. cout << "You get a golden two handed weapon!";
  907. }
  908. else if (d10 == 8)
  909. {
  910. cout << "You get a golden two handed weapon!";
  911. }
  912. else if (d10 == 9)
  913. {
  914. cout << "You get a golden two handed weapon!";
  915. }
  916. else if (d10 == 10)
  917. {
  918. cout << "You get a golden two handed weapon!";
  919. }
  920. }
  921. else if (weapon == 9)
  922. {
  923. cout << "You get a two handed weapon! (Player's choice) Rolling to see what kind of material it's made out of: \n";
  924. if (d10 == 1)
  925. {
  926. cout << "You get a silver two handed weapon!";
  927. }
  928. else if (d10 == 2)
  929. {
  930. cout << "You get a crystal two handed weapon!";
  931. }
  932. else if (d10 == 3)
  933. {
  934. cout << "You get a golden two handed weapon!";
  935. }
  936. else if (d10 == 4)
  937. {
  938. cout << "You get a golden two handed weapon!";
  939. }
  940. else if (d10 == 5)
  941. {
  942. cout << "You get a gemstone two handed weapon!";
  943. }
  944. else if (d10 == 6)
  945. {
  946. cout << "You get a gemstone two handed weapon!";
  947. }
  948. else if (d10 == 7)
  949. {
  950. cout << "You get a golden two handed weapon!";
  951. }
  952. else if (d10 == 8)
  953. {
  954. cout << "You get a golden two handed weapon!";
  955. }
  956. else if (d10 == 9)
  957. {
  958. cout << "You get a golden two handed weapon!";
  959. }
  960. else if (d10 == 10)
  961. {
  962. cout << "You get a golden two handed weapon!";
  963. }
  964. }
  965. else if (weapon == 10)
  966. {
  967. cout << "You get a shield! Rolling to see what kind of shield it is: \n";
  968. if (d10 == 1)
  969. {
  970. cout << "You get a silver shield!";
  971. }
  972. else if (d10 == 2)
  973. {
  974. cout << "You get a crystal shield!";
  975. }
  976. else if (d10 == 3)
  977. {
  978. cout << "You get a golden shield!";
  979. }
  980. else if (d10 == 4)
  981. {
  982. cout << "You get a golden shield!";
  983. }
  984. else if (d10 == 5)
  985. {
  986. cout << "You get a gemstone shield!";
  987. }
  988. else if (d10 == 6)
  989. {
  990. cout << "You get a gemstone shield!";
  991. }
  992. else if (d10 == 7)
  993. {
  994. cout << "You get a golden shield!";
  995. }
  996. else if (d10 == 8)
  997. {
  998. cout << "You get a golden shield!";
  999. }
  1000. else if (d10 == 9)
  1001. {
  1002. cout << "You get a golden shield!";
  1003. }
  1004. else if (d10 == 10)
  1005. {
  1006. cout << "You get a golden shield!";
  1007. }
  1008. }
  1009. }
  1010. else if (random > 70 & random <= 80)
  1011. {
  1012. cout << "You get some formal components! Please specify Earth or Celestial components " << endl;
  1013. cin >> formal;
  1014. if (formal = "Earth")
  1015. {
  1016. cout << "Rolling to see what kind of Earth components you get: \n";
  1017. if (d10 == 1)
  1018. {
  1019. cout << "You get " << quartz3 << " Quartz!";
  1020. }
  1021. else if (d10 == 2)
  1022. {
  1023. cout << "You get " << insect << " insects trapped in Amber!";
  1024. }
  1025. else if (d10 == 3)
  1026. {
  1027. cout << "You get " << moredust << " dust from a fault line!";
  1028. }
  1029. else if (d10 == 4)
  1030. {
  1031. cout << "You get " << moreshell << " shells of a dragon turtle!";
  1032. }
  1033. else if (d10 == 5)
  1034. {
  1035. cout << "You get " << morescales << " Dragon scales!";
  1036. }
  1037. else if (d10 == 6)
  1038. {
  1039. cout << "You get " << blooms << " blooms of a century cactus!";
  1040. }
  1041. else if (d10 == 7)
  1042. {
  1043. cout << "You get " << moreblooms << "blooms of a century cactus!";
  1044. }
  1045. else if (d10 == 8)
  1046. {
  1047. cout << "You get " << ruby << " perfect rubies!";
  1048. }
  1049. else if (d10 == 9)
  1050. {
  1051. cout << "You get " << silver << " volcanic silver!";
  1052. }
  1053. else if (d10 == 10)
  1054. {
  1055. cout << "You get " << hide << " hides of a Greater Stone Drake! Congratulations!";
  1056. }
  1057. }
  1058. else
  1059. {
  1060. cout << "Rolling to see what kind of Celestial components you get: \n";
  1061. if (d10 == 1)
  1062. {
  1063. cout << "You get " << quartz2 << " Pumice!";
  1064. }
  1065. else if (d10 == 2)
  1066. {
  1067. cout << "You get " << insect << " unbroken quartz geode!";
  1068. }
  1069. else if (d10 == 3)
  1070. {
  1071. cout << "You get " << moredust << " dust from a Celestial Illusion!";
  1072. }
  1073. else if (d10 == 4)
  1074. {
  1075. cout << "You get " << moreshell << " Celestial Sundials!";
  1076. }
  1077. else if (d10 == 5)
  1078. {
  1079. cout << "You get " << morescales << " Bronze Razor Wires!";
  1080. }
  1081. else if (d10 == 6)
  1082. {
  1083. cout << "You get " << blooms << " Phoenix feathers!!";
  1084. }
  1085. else if (d10 == 7)
  1086. {
  1087. cout << "You get " << moreblooms << " Phoenix feathers!!";
  1088. }
  1089. else if (d10 == 8)
  1090. {
  1091. cout << "You get " << ruby << " Perfect Sapphires!";
  1092. }
  1093. else if (d10 == 9)
  1094. {
  1095. cout << "You get " << silver << " Meteoric Silver!";
  1096. }
  1097. else if (d10 == 10)
  1098. {
  1099. cout << "You get " << hide << " Mantle of a Swan Ray! Congratulations!";
  1100. }
  1101. }
  1102. }
  1103. else if (random > 80 & random <= 87)
  1104. {
  1105. cout << "You get your choice of Formal vessels, up to Gold level! (Plot exceptions apply)" << endl;
  1106. }
  1107. else if (random > 87 & random <= 94)
  1108. {
  1109. cout << "You get your choice of formal component from Quartz, Insect trapped in Amber, 100 year old Oak, Dust from a Fault Line, Shell of a Dragon Turtle, Dragon Scale, Bloom of a Century Cactus, Pumice, Unbroken Quartz Geode, Celestial Dust, Celestial Sundial, Bronze Razor Wire, or Phoenix Feather. " << endl;
  1110. }
  1111. else if (random > 94 & random <= 97)
  1112. {
  1113. cout << "You get a weapon with enchantments on it! Rolling to see what kind of weapon with how many enchants are on it: ";
  1114. if (weapon == 1)
  1115. {
  1116. cout << "You get a Cold Wrought Iron Dagger!";
  1117. }
  1118. else if (weapon == 2)
  1119. {
  1120. cout << "You get a Cold Wrought Iron Dagger!";
  1121. }
  1122. else if (weapon == 3)
  1123. {
  1124. cout << "You get a Silver Dagger!";
  1125. }
  1126. else if (weapon == 4)
  1127. {
  1128. cout << "You get a Silver Dagger!";
  1129. }
  1130. else if (weapon == 5)
  1131. {
  1132. cout << "You get a Crystal Dagger!";
  1133. }
  1134. else if (weapon == 6)
  1135. {
  1136. cout << "You get a Crystal Dagger!";
  1137. }
  1138. else if (weapon == 7)
  1139. {
  1140. cout << "You get a Gold Dagger!";
  1141. }
  1142. else if (weapon == 8)
  1143. {
  1144. cout << "You get a Gold Dagger!";
  1145. }
  1146. else if (weapon == 9)
  1147. {
  1148. cout << "You get a Gemstone Dagger!";
  1149. }
  1150. else if (weapon == 10)
  1151. {
  1152. cout << "You get a Gemstone Dagger!";
  1153. }
  1154. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1155. }
  1156. else if (d10 == 2)
  1157. {
  1158. cout << "You get a Shortsword! Rolling to see what kind of Shortsword you get: \n";
  1159. if (weapon == 1)
  1160. {
  1161. cout << "You get a Cold Wrought Iron Shortsword!";
  1162. }
  1163. else if (weapon == 2)
  1164. {
  1165. cout << "You get a Cold Wrought Iron Shortsword!";
  1166. }
  1167. else if (weapon == 3)
  1168. {
  1169. cout << "You get a Silver Shortsword!";
  1170. }
  1171. else if (weapon == 4)
  1172. {
  1173. cout << "You get a Silver Shortsword!";
  1174. }
  1175. else if (weapon == 5)
  1176. {
  1177. cout << "You get a Crystal Shortsword!";
  1178. }
  1179. else if (weapon == 6)
  1180. {
  1181. cout << "You get a Crystal Shortsword!";
  1182. }
  1183. else if (weapon == 7)
  1184. {
  1185. cout << "You get a Gold Shortsword!";
  1186. }
  1187. else if (weapon == 8)
  1188. {
  1189. cout << "You get a Gold Shortsword!";
  1190. }
  1191. else if (weapon == 9)
  1192. {
  1193. cout << "You get a Gemstone Shortsword!";
  1194. }
  1195. else if (weapon == 10)
  1196. {
  1197. cout << "You get a Gemstone Shortsword!";
  1198. }
  1199. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1200. }
  1201. else if (d10 == 3)
  1202. {
  1203. cout << "You get a Longsword or Spear! Rolling to see what kind of Longsword or Spear you get: \n";
  1204. if (weapon == 1)
  1205. {
  1206. cout << "You get a Cold Wrought Iron Longsword or Spear!";
  1207. }
  1208. else if (weapon == 2)
  1209. {
  1210. cout << "You get a Cold Wrought Iron Longsword or Spear!";
  1211. }
  1212. else if (weapon == 3)
  1213. {
  1214. cout << "You get a Silver Longsword or Spear!";
  1215. }
  1216. else if (weapon == 4)
  1217. {
  1218. cout << "You get a Silver Longsword or Spear!";
  1219. }
  1220. else if (weapon == 5)
  1221. {
  1222. cout << "You get a Crystal Longsword or Spear!";
  1223. }
  1224. else if (weapon == 6)
  1225. {
  1226. cout << "You get a Crystal Longsword or Spear!";
  1227. }
  1228. else if (weapon == 7)
  1229. {
  1230. cout << "You get a Gold Longsword or Spear!";
  1231. }
  1232. else if (weapon == 8)
  1233. {
  1234. cout << "You get a Gold Longsword or Spear!";
  1235. }
  1236. else if (weapon == 9)
  1237. {
  1238. cout << "You get a Gemstone Longsword or Spear!";
  1239. }
  1240. else if (weapon == 10)
  1241. {
  1242. cout << "You get a Gemstone Longsword or Spear!";
  1243. }
  1244. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1245. }
  1246. else if (d10 == 4)
  1247. {
  1248. cout << "You get a Mace or Hammer! Rolling to see what kind of Mace or Hammer you get: \n";
  1249. if (weapon == 1)
  1250. {
  1251. cout << "You get a Cold Wrought Iron Mace or Hammer!";
  1252. }
  1253. else if (weapon == 2)
  1254. {
  1255. cout << "You get a Cold Wrought Iron Mace or Hammer!";
  1256. }
  1257. else if (weapon == 3)
  1258. {
  1259. cout << "You get a Silver Mace or Hammer!";
  1260. }
  1261. else if (weapon == 4)
  1262. {
  1263. cout << "You get a Silver Mace or Hammer!";
  1264. }
  1265. else if (weapon == 5)
  1266. {
  1267. cout << "You get a Crystal Mace or Hammer!";
  1268. }
  1269. else if (weapon == 6)
  1270. {
  1271. cout << "You get a Crystal Mace or Hammer!";
  1272. }
  1273. else if (weapon == 7)
  1274. {
  1275. cout << "You get a Gold Mace or Hammer!";
  1276. }
  1277. else if (weapon == 8)
  1278. {
  1279. cout << "You get a Gold Mace or Hammer!";
  1280. }
  1281. else if (weapon == 9)
  1282. {
  1283. cout << "You get a Gemstone Mace or Hammer!";
  1284. }
  1285. else if (weapon == 10)
  1286. {
  1287. cout << "You get a Gemstone Mace or Hammer!";
  1288. }
  1289. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1290. }
  1291. else if (d10 == 5)
  1292. {
  1293. cout << "You get a piece of jewelry! Rolling to see what material your jewelry is made out of: \n";
  1294. if (weapon == 1)
  1295. {
  1296. cout << "You get a Cold Wrought Iron piece of jewelry!";
  1297. }
  1298. else if (weapon == 2)
  1299. {
  1300. cout << "You get a Cold Wrought Iron piece of jewelry!";
  1301. }
  1302. else if (weapon == 3)
  1303. {
  1304. cout << "You get a Silver piece of jewelry!";
  1305. }
  1306. else if (weapon == 4)
  1307. {
  1308. cout << "You get a Silver piece of jewelry!";
  1309. }
  1310. else if (weapon == 5)
  1311. {
  1312. cout << "You get a Crystal piece of jewelry!";
  1313. }
  1314. else if (weapon == 6)
  1315. {
  1316. cout << "You get a Crystal piece of jewelry!";
  1317. }
  1318. else if (weapon == 7)
  1319. {
  1320. cout << "You get a Gold piece of jewelry!";
  1321. }
  1322. else if (weapon == 8)
  1323. {
  1324. cout << "You get a Gold piece of jewelry!";
  1325. }
  1326. else if (weapon == 9)
  1327. {
  1328. cout << "You get a Gemstone piece of jewelry!";
  1329. }
  1330. else if (weapon == 10)
  1331. {
  1332. cout << "You get a Gemstone piece of jewelry!";
  1333. }
  1334. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1335. }
  1336. else if (d10 == 6)
  1337. {
  1338. cout << "You get a piece of jewelry! Rolling to see what material your jewelry is made out of: \n";
  1339. if (weapon == 1)
  1340. {
  1341. cout << "You get a Cold Wrought Iron piece of jewelry!";
  1342. }
  1343. else if (weapon == 2)
  1344. {
  1345. cout << "You get a Cold Wrought Iron piece of jewelry!";
  1346. }
  1347. else if (weapon == 3)
  1348. {
  1349. cout << "You get a Silver piece of jewelry!";
  1350. }
  1351. else if (weapon == 4)
  1352. {
  1353. cout << "You get a Silver piece of jewelry!";
  1354. }
  1355. else if (weapon == 5)
  1356. {
  1357. cout << "You get a Crystal piece of jewelry!";
  1358. }
  1359. else if (weapon == 6)
  1360. {
  1361. cout << "You get a Crystal piece of jewelry!";
  1362. }
  1363. else if (weapon == 7)
  1364. {
  1365. cout << "You get a Gold piece of jewelry!";
  1366. }
  1367. else if (weapon == 8)
  1368. {
  1369. cout << "You get a Gold piece of jewelry!";
  1370. }
  1371. else if (weapon == 9)
  1372. {
  1373. cout << "You get a Gemstone piece of jewelry!";
  1374. }
  1375. else if (weapon == 10)
  1376. {
  1377. cout << "You get a Gemstone piece of jewelry!";
  1378. }
  1379. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1380. }
  1381. else if (d10 == 7)
  1382. {
  1383. cout << "You get a Wand! Rolling to see what kind of Wand you get: \n";
  1384. if (weapon == 1)
  1385. {
  1386. cout << "You get a Cold Wrought Iron Wand!";
  1387. }
  1388. else if (weapon == 2)
  1389. {
  1390. cout << "You get a Cold Wrought Iron Wand!";
  1391. }
  1392. else if (weapon == 3)
  1393. {
  1394. cout << "You get a Silver Wand!";
  1395. }
  1396. else if (weapon == 4)
  1397. {
  1398. cout << "You get a Silver Wand!";
  1399. }
  1400. else if (weapon == 5)
  1401. {
  1402. cout << "You get a Crystal Wand!";
  1403. }
  1404. else if (weapon == 6)
  1405. {
  1406. cout << "You get a Crystal Wand!";
  1407. }
  1408. else if (weapon == 7)
  1409. {
  1410. cout << "You get a Gold Wand!";
  1411. }
  1412. else if (weapon == 8)
  1413. {
  1414. cout << "You get a Gold Wand!";
  1415. }
  1416. else if (weapon == 9)
  1417. {
  1418. cout << "You get a Gemstone Wand!";
  1419. }
  1420. else if (weapon == 10)
  1421. {
  1422. cout << "You get a Gemstone Wand!";
  1423. }
  1424. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1425. }
  1426. else if (d10 == 8)
  1427. {
  1428. cout << "You get a two handed weapon! (player's choice). Rolling to see what material your weapon is: \n";
  1429. if (weapon == 1)
  1430. {
  1431. cout << "You get a Cold Wrought Iron two handed weapon!";
  1432. }
  1433. else if (weapon == 2)
  1434. {
  1435. cout << "You get a Cold Wrought Iron two handed weapon!";
  1436. }
  1437. else if (weapon == 3)
  1438. {
  1439. cout << "You get a Silver two handed weapon!";
  1440. }
  1441. else if (weapon == 4)
  1442. {
  1443. cout << "You get a Silver two handed weapon!";
  1444. }
  1445. else if (weapon == 5)
  1446. {
  1447. cout << "You get a Crystal two handed weapon!";
  1448. }
  1449. else if (weapon == 6)
  1450. {
  1451. cout << "You get a Crystal two handed weapon!";
  1452. }
  1453. else if (weapon == 7)
  1454. {
  1455. cout << "You get a Gold two handed weapon!";
  1456. }
  1457. else if (weapon == 8)
  1458. {
  1459. cout << "You get a Gold two handed weapon!";
  1460. }
  1461. else if (weapon == 9)
  1462. {
  1463. cout << "You get a Gemstone two handed weapon!";
  1464. }
  1465. else if (weapon == 10)
  1466. {
  1467. cout << "You get a Gemstone two handed weapon!";
  1468. }
  1469. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1470. }
  1471. else if (d10 == 9)
  1472. {
  1473. cout << "You get a two handed weapon! (player's choice). Rolling to see what material your weapon is: \n";
  1474. if (weapon == 1)
  1475. {
  1476. cout << "You get a Cold Wrought Iron two handed weapon!";
  1477. }
  1478. else if (weapon == 2)
  1479. {
  1480. cout << "You get a Cold Wrought two handed weapon!";
  1481. }
  1482. else if (weapon == 3)
  1483. {
  1484. cout << "You get a Silver two handed weapon!";
  1485. }
  1486. else if (weapon == 4)
  1487. {
  1488. cout << "You get a Silver two handed weapon!";
  1489. }
  1490. else if (weapon == 5)
  1491. {
  1492. cout << "You get a Crystal two handed weapon!";
  1493. }
  1494. else if (weapon == 6)
  1495. {
  1496. cout << "You get a Crystal two handed weapon!";
  1497. }
  1498. else if (weapon == 7)
  1499. {
  1500. cout << "You get a Gold two handed weapon!";
  1501. }
  1502. else if (weapon == 8)
  1503. {
  1504. cout << "You get a Gold two handed weapon!";
  1505. }
  1506. else if (weapon == 9)
  1507. {
  1508. cout << "You get a Gemstone two handed weapon!";
  1509. }
  1510. else if (weapon == 10)
  1511. {
  1512. cout << "You get a Gemstone two handed weapon!";
  1513. }
  1514. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1515. }
  1516. else if (d10 == 10)
  1517. {
  1518. cout << "You get a shield! Rolling to see what material your shield is: \n";
  1519. if (weapon == 1)
  1520. {
  1521. cout << "You get a Cold Wrought Iron Shield!";
  1522. }
  1523. else if (weapon == 2)
  1524. {
  1525. cout << "You get a Cold Wrought Iron Shield!";
  1526. }
  1527. else if (weapon == 3)
  1528. {
  1529. cout << "You get a Silver Shield!";
  1530. }
  1531. else if (weapon == 4)
  1532. {
  1533. cout << "You get a Silver Shield!";
  1534. }
  1535. else if (weapon == 5)
  1536. {
  1537. cout << "You get a Crystal Shield!";
  1538. }
  1539. else if (weapon == 6)
  1540. {
  1541. cout << "You get a Crystal Shield!";
  1542. }
  1543. else if (weapon == 7)
  1544. {
  1545. cout << "You get a Gold Shield!";
  1546. }
  1547. else if (weapon == 8)
  1548. {
  1549. cout << "You get a Gold Shield";
  1550. }
  1551. else if (weapon == 9)
  1552. {
  1553. cout << "You get a Gemstone Shield!";
  1554. }
  1555. else if (weapon == 10)
  1556. {
  1557. cout << "You get a Gemstone Shield!";
  1558. }
  1559. cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
  1560. }
  1561. else if (random > 97 & random <= 99)
  1562. {
  1563. cout << "You get a weapon with enchantments! Rolling to specify: ";
  1564. if (d10 == 1)
  1565. {
  1566. cout << "You get a silver dagger!";
  1567. }
  1568. else if (d10 == 2)
  1569. {
  1570. cout << "You get a crystal dagger!";
  1571. }
  1572. else if (d10 == 3)
  1573. {
  1574. cout << "You get a golden dagger!";
  1575. }
  1576. else if (d10 == 4)
  1577. {
  1578. cout << "You get a golden dagger!";
  1579. }
  1580. else if (d10 == 5)
  1581. {
  1582. cout << "You get a gemstone dagger!";
  1583. }
  1584. else if (d10 == 6)
  1585. {
  1586. cout << "You get a gemstone dagger!";
  1587. }
  1588. else if (d10 == 7)
  1589. {
  1590. cout << "You get a golden dagger!";
  1591. }
  1592. else if (d10 == 8)
  1593. {
  1594. cout << "You get a golden dagger!";
  1595. }
  1596. else if (d10 == 9)
  1597. {
  1598. cout << "You get a golden dagger!";
  1599. }
  1600. else if (d10 == 10)
  1601. {
  1602. cout << "You get a golden dagger!";
  1603. }
  1604. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1605. }
  1606. else if (weapon == 2)
  1607. {
  1608. cout << "You get a Shortsword! Rolling to see what kind of Shortsword you get: \n";
  1609. if (d10 == 1)
  1610. {
  1611. cout << "You get a silver shortsword!";
  1612. }
  1613. else if (d10 == 2)
  1614. {
  1615. cout << "You get a crystal shortsword!";
  1616. }
  1617. else if (d10 == 3)
  1618. {
  1619. cout << "You get a golden shortsword!";
  1620. }
  1621. else if (d10 == 4)
  1622. {
  1623. cout << "You get a golden shortsword!";
  1624. }
  1625. else if (d10 == 5)
  1626. {
  1627. cout << "You get a gemstone shortsword!";
  1628. }
  1629. else if (d10 == 6)
  1630. {
  1631. cout << "You get a gemstone shortsword!";
  1632. }
  1633. else if (d10 == 7)
  1634. {
  1635. cout << "You get a golden shortsword!";
  1636. }
  1637. else if (d10 == 8)
  1638. {
  1639. cout << "You get a golden shortsword!";
  1640. }
  1641. else if (d10 == 9)
  1642. {
  1643. cout << "You get a golden shortsword!";
  1644. }
  1645. else if (d10 == 10)
  1646. {
  1647. cout << "You get a golden shortsword!";
  1648. }
  1649. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1650. }
  1651. else if (weapon == 3)
  1652. {
  1653. cout << "You get a Longsword or spear (Player's Choice)! Rolling to see what kind of material it's made out of: \n";
  1654. if (d10 == 1)
  1655. {
  1656. cout << "You get a silver longsword or spear!";
  1657. }
  1658. else if (d10 == 2)
  1659. {
  1660. cout << "You get a crystal longsword or spear!";
  1661. }
  1662. else if (d10 == 3)
  1663. {
  1664. cout << "You get a golden longsword or spear!";
  1665. }
  1666. else if (d10 == 4)
  1667. {
  1668. cout << "You get a golden longsword or spear!";
  1669. }
  1670. else if (d10 == 5)
  1671. {
  1672. cout << "You get a gemstone longsword or spear!";
  1673. }
  1674. else if (d10 == 6)
  1675. {
  1676. cout << "You get a gemstone longsword or spear!";
  1677. }
  1678. else if (d10 == 7)
  1679. {
  1680. cout << "You get a golden longsword or spear!";
  1681. }
  1682. else if (d10 == 8)
  1683. {
  1684. cout << "You get a golden longsword or spear!";
  1685. }
  1686. else if (d10 == 9)
  1687. {
  1688. cout << "You get a golden longsword or spear!";
  1689. }
  1690. else if (d10 == 10)
  1691. {
  1692. cout << "You get a golden longsword or spear!";
  1693. }
  1694. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1695. }
  1696. else if (weapon == 4)
  1697. {
  1698. cout << "You get a Mace or a Hammer! (Player's Choice) Rolling to see what material it's made out of: \n";
  1699. if (d10 == 1)
  1700. {
  1701. cout << "You get a silver Mace or Hammer!";
  1702. }
  1703. else if (d10 == 2)
  1704. {
  1705. cout << "You get a crystal Mace or Hammer!";
  1706. }
  1707. else if (d10 == 3)
  1708. {
  1709. cout << "You get a golden Mace or Hammer!";
  1710. }
  1711. else if (d10 == 4)
  1712. {
  1713. cout << "You get a golden Mace or Hammer!";
  1714. }
  1715. else if (d10 == 5)
  1716. {
  1717. cout << "You get a gemstone Mace or Hammer!";
  1718. }
  1719. else if (d10 == 6)
  1720. {
  1721. cout << "You get a gemstone Mace or Hammer!";
  1722. }
  1723. else if (d10 == 7)
  1724. {
  1725. cout << "You get a golden Mace or Hammer!";
  1726. }
  1727. else if (d10 == 8)
  1728. {
  1729. cout << "You get a golden Mace or Hammer!";
  1730. }
  1731. else if (d10 == 9)
  1732. {
  1733. cout << "You get a golden Mace or Hammer!";
  1734. }
  1735. else if (d10 == 10)
  1736. {
  1737. cout << "You get a golden Mace or Hammer!";
  1738. }
  1739. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1740. }
  1741. else if (weapon == 5)
  1742. {
  1743. cout << "You get a piece of jewelry! Rolling to see what material it's made out of: \n";
  1744. if (d10 == 1)
  1745. {
  1746. cout << "You get a silver piece of jewelry!";
  1747. }
  1748. else if (d10 == 2)
  1749. {
  1750. cout << "You get a crystal piece of jewelry!";
  1751. }
  1752. else if (d10 == 3)
  1753. {
  1754. cout << "You get a golden piece of jewelry!";
  1755. }
  1756. else if (d10 == 4)
  1757. {
  1758. cout << "You get a golden piece of jewelry!";
  1759. }
  1760. else if (d10 == 5)
  1761. {
  1762. cout << "You get a gemstone piece of jewelry!";
  1763. }
  1764. else if (d10 == 6)
  1765. {
  1766. cout << "You get a gemstone piece of jewelry!";
  1767. }
  1768. else if (d10 == 7)
  1769. {
  1770. cout << "You get a golden piece of jewelry!";
  1771. }
  1772. else if (d10 == 8)
  1773. {
  1774. cout << "You get a golden piece of jewelry!";
  1775. }
  1776. else if (d10 == 9)
  1777. {
  1778. cout << "You get a golden piece of jewelry!";
  1779. }
  1780. else if (d10 == 10)
  1781. {
  1782. cout << "You get a golden piece of jewelry!";
  1783. }
  1784. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1785. }
  1786. else if (weapon == 6)
  1787. {
  1788. cout << "You get a piece of jewelry! Rolling to see what it's made out of: \n";
  1789. if (d10 == 1)
  1790. {
  1791. cout << "You get a silver piece of jewelry!";
  1792. }
  1793. else if (d10 == 2)
  1794. {
  1795. cout << "You get a crystal piece of jewelry!";
  1796. }
  1797. else if (d10 == 3)
  1798. {
  1799. cout << "You get a golden piece of jewelry!";
  1800. }
  1801. else if (d10 == 4)
  1802. {
  1803. cout << "You get a golden piece of jewelry!";
  1804. }
  1805. else if (d10 == 5)
  1806. {
  1807. cout << "You get a gemstone piece of jewelry!";
  1808. }
  1809. else if (d10 == 6)
  1810. {
  1811. cout << "You get a gemstone piece of jewelry!";
  1812. }
  1813. else if (d10 == 7)
  1814. {
  1815. cout << "You get a golden piece of jewelry!";
  1816. }
  1817. else if (d10 == 8)
  1818. {
  1819. cout << "You get a golden piece of jewelry!";
  1820. }
  1821. else if (d10 == 9)
  1822. {
  1823. cout << "You get a golden piece of jewelry!";
  1824. }
  1825. else if (d10 == 10)
  1826. {
  1827. cout << "You get a golden piece of jewelry!";
  1828. }
  1829. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1830. }
  1831. else if (weapon == 8)
  1832. {
  1833. cout << "You get a two handed weapon! (Player's choice) Rolling to see what material the weapon is made of: \n";
  1834. if (d10 == 1)
  1835. {
  1836. cout << "You get a silver two handed weapon!";
  1837. }
  1838. else if (d10 == 2)
  1839. {
  1840. cout << "You get a crystal two handed weapon!";
  1841. }
  1842. else if (d10 == 3)
  1843. {
  1844. cout << "You get a golden two handed weapon!";
  1845. }
  1846. else if (d10 == 4)
  1847. {
  1848. cout << "You get a golden two handed weapon!";
  1849. }
  1850. else if (d10 == 5)
  1851. {
  1852. cout << "You get a gemstone two handed weapon!";
  1853. }
  1854. else if (d10 == 6)
  1855. {
  1856. cout << "You get a gemstone two handed weapon!";
  1857. }
  1858. else if (d10 == 7)
  1859. {
  1860. cout << "You get a golden two handed weapon!";
  1861. }
  1862. else if (d10 == 8)
  1863. {
  1864. cout << "You get a golden two handed weapon!";
  1865. }
  1866. else if (d10 == 9)
  1867. {
  1868. cout << "You get a golden two handed weapon!";
  1869. }
  1870. else if (d10 == 10)
  1871. {
  1872. cout << "You get a golden two handed weapon!";
  1873. }
  1874. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1875. }
  1876. else if (weapon == 9)
  1877. {
  1878. cout << "You get a two handed weapon! (Player's choice) Rolling to see what kind of material it's made out of: \n";
  1879. if (d10 == 1)
  1880. {
  1881. cout << "You get a silver two handed weapon!";
  1882. }
  1883. else if (d10 == 2)
  1884. {
  1885. cout << "You get a crystal two handed weapon!";
  1886. }
  1887. else if (d10 == 3)
  1888. {
  1889. cout << "You get a golden two handed weapon!";
  1890. }
  1891. else if (d10 == 4)
  1892. {
  1893. cout << "You get a golden two handed weapon!";
  1894. }
  1895. else if (d10 == 5)
  1896. {
  1897. cout << "You get a gemstone two handed weapon!";
  1898. }
  1899. else if (d10 == 6)
  1900. {
  1901. cout << "You get a gemstone two handed weapon!";
  1902. }
  1903. else if (d10 == 7)
  1904. {
  1905. cout << "You get a golden two handed weapon!";
  1906. }
  1907. else if (d10 == 8)
  1908. {
  1909. cout << "You get a golden two handed weapon!";
  1910. }
  1911. else if (d10 == 9)
  1912. {
  1913. cout << "You get a golden two handed weapon!";
  1914. }
  1915. else if (d10 == 10)
  1916. {
  1917. cout << "You get a golden two handed weapon!";
  1918. }
  1919. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1920. }
  1921. else if (weapon == 10)
  1922. {
  1923. cout << "You get a shield! Rolling to see what kind of shield it is: \n";
  1924. if (d10 == 1)
  1925. {
  1926. cout << "You get a silver shield!";
  1927. }
  1928. else if (d10 == 2)
  1929. {
  1930. cout << "You get a crystal shield!";
  1931. }
  1932. else if (d10 == 3)
  1933. {
  1934. cout << "You get a golden shield!";
  1935. }
  1936. else if (d10 == 4)
  1937. {
  1938. cout << "You get a golden shield!";
  1939. }
  1940. else if (d10 == 5)
  1941. {
  1942. cout << "You get a gemstone shield!";
  1943. }
  1944. else if (d10 == 6)
  1945. {
  1946. cout << "You get a gemstone shield!";
  1947. }
  1948. else if (d10 == 7)
  1949. {
  1950. cout << "You get a golden shield!";
  1951. }
  1952. else if (d10 == 8)
  1953. {
  1954. cout << "You get a golden shield!";
  1955. }
  1956. else if (d10 == 9)
  1957. {
  1958. cout << "You get a golden shield!";
  1959. }
  1960. else if (d10 == 10)
  1961. {
  1962. cout << "You get a golden shield!";
  1963. }
  1964. cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
  1965.  
  1966. }
  1967. else if (random == 100)
  1968. {
  1969. cout << "You get two free group pulls! Congratulations!";
  1970. }
  1971. system("PAUSE");
  1972. }
  1973. return 0;
  1974. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement