Advertisement
Guest User

DoomRL Armor Calculator

a guest
Oct 9th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.90 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  3. <html>
  4.  
  5. <head>
  6. <meta charset="utf-8">
  7. </head>
  8.  
  9. <script language="JavaScript">
  10. function calc(f) {
  11.  
  12. if (f.tan.value == "") {
  13. f.tan.value = 0
  14. }
  15.  
  16.  
  17. var damage = 0;
  18. var avgdam = 0;
  19.  
  20. var protect = 0;
  21. var melres = 0;
  22. var bulres = 0;
  23. var shpres = 0;
  24. var firres = 0;
  25. var plares = 0;
  26. var acires = 0;
  27. var moda = 0;
  28.  
  29. var die = 0
  30. var dice = 0
  31. var type = 0
  32. var bonus = 0
  33.  
  34. var i = 0;
  35. var j = 0;
  36.  
  37. if (f.armor.selectedIndex == 0) {
  38. protect = 1;
  39. melres = 0;
  40. bulres = 15;
  41. shpres = 15;
  42. firres = 0;
  43. plares = 0;
  44. acires = 0;
  45. moda = 1
  46. }
  47. if (f.armor.selectedIndex == 1) {
  48. protect = 2
  49. melres = 0;
  50. bulres = 0;
  51. shpres = 0;
  52. firres = 0;
  53. plares = 20;
  54. acires = 0;
  55. moda = 1
  56. }
  57. if (f.armor.selectedIndex == 2) {
  58. protect = 4
  59. melres = 0;
  60. bulres = 0;
  61. shpres = 0;
  62. firres = 25
  63. plares = 0
  64. acires = 0;
  65. moda = 1
  66. }
  67. if (f.armor.selectedIndex == 3) {
  68. protect = 1
  69. melres = 50
  70. bulres = 50
  71. shpres = 50
  72. firres = 0
  73. plares = 0
  74. acires = 0
  75. moda = 1
  76. }
  77. if (f.armor.selectedIndex == 4) {
  78. protect = 2
  79. melres = 50
  80. bulres = 50
  81. shpres = 50
  82. firres = 0
  83. plares = 0
  84. acires = 0
  85. moda = 1
  86. }
  87. if (f.armor.selectedIndex == 5) {
  88. protect = 1
  89. melres = 0
  90. bulres = 80
  91. shpres = 0
  92. firres = 0
  93. plares = 0
  94. acires = 0
  95. moda = 1
  96. }
  97. if (f.armor.selectedIndex == 6) {
  98. protect = 2
  99. melres = 20
  100. bulres = 20
  101. shpres = 20
  102. firres = 0
  103. plares = 0
  104. acires = 0
  105. moda = 1
  106. }
  107. if (f.armor.selectedIndex == 7) {
  108. protect = 1
  109. melres = 0
  110. bulres = 0
  111. shpres = 0
  112. firres = 50
  113. plares = 50
  114. acires = 50
  115. moda = 1
  116. }
  117. if (f.armor.selectedIndex == 8) {
  118. protect = 7
  119. melres = 50
  120. bulres = 50
  121. shpres = 50
  122. firres = 0
  123. plares = 0
  124. acires = 0
  125. moda = 1
  126. }
  127. if (f.armor.selectedIndex == 9) {
  128. protect = 2
  129. melres = 30
  130. bulres = 30
  131. shpres = 30
  132. firres = 0
  133. plares = 0
  134. acires = 0
  135. moda = 1
  136. }
  137. if (f.armor.selectedIndex == 10) {
  138. protect = 2
  139. melres = 0
  140. bulres = 0
  141. shpres = 0
  142. firres = 0
  143. plares = 0
  144. acires = 0
  145. moda = 1
  146. }
  147. if (f.armor.selectedIndex == 11) {
  148. protect = 7
  149. melres = 50
  150. bulres = 50
  151. shpres = 50
  152. firres = 0
  153. plares = 0
  154. acires = 0
  155. moda = 1
  156. }
  157. if (f.armor.selectedIndex == 12) {
  158. protect = 3
  159. melres = 0
  160. bulres = 0
  161. shpres = 0
  162. firres = 30
  163. plares = 30
  164. acires = 30
  165. moda = 0
  166. }
  167. if (f.armor.selectedIndex == 13) {
  168. protect = 4
  169. melres = 0
  170. bulres = 0
  171. shpres = 0
  172. firres = 75
  173. plares = 50
  174. acires = 0
  175. moda = 0
  176. }
  177. if (f.armor.selectedIndex == 14) {
  178. protect = 4
  179. melres = 0
  180. bulres = 0
  181. shpres = 0
  182. firres = 0
  183. plares = 0
  184. acires = 0
  185. moda = 0
  186. }
  187. if (f.armor.selectedIndex == 15) {
  188. protect = 6
  189. melres = 0
  190. bulres = 0
  191. shpres = 0
  192. firres = 0
  193. plares = 0
  194. acires = 0
  195. moda = 0
  196. }
  197. if (f.armor.selectedIndex == 16) {
  198. protect = 2
  199. melres = 90
  200. bulres = 90
  201. shpres = 90
  202. firres = 0
  203. plares = 0
  204. acires = 0
  205. moda = 0
  206. }
  207. if (f.armor.selectedIndex == 17) {
  208. protect = 4
  209. melres = 50
  210. bulres = 50
  211. shpres = 50
  212. firres = 0
  213. plares = 0
  214. acires = 0
  215. moda = 0
  216. }
  217. if (f.armor.selectedIndex == 18) {
  218. protect = 12
  219. melres = 0
  220. bulres = 0
  221. shpres = 0
  222. firres = 0
  223. plares = 0
  224. acires = 0
  225. moda = 0
  226. }
  227. if (f.armor.selectedIndex == 19) {
  228. protect = 4
  229. melres = 0
  230. bulres = 0
  231. shpres = 0
  232. firres = 95
  233. plares = 0
  234. acires = 0
  235. moda = 0
  236. }
  237. if (f.armor.selectedIndex == 20) {
  238. protect = 0
  239. melres = 95
  240. bulres = 95
  241. shpres = 95
  242. firres = 0
  243. plares = 0
  244. acires = 0
  245. moda = 0
  246. }
  247. if (f.armor.selectedIndex == 21) {
  248. protect = 0
  249. melres = 0
  250. bulres = 0
  251. shpres = 0
  252. firres = 80
  253. plares = 80
  254. acires = 80
  255. moda = 0
  256. }
  257. if (f.armor.selectedIndex == 22) {
  258. protect = 0
  259. melres = 0
  260. bulres = 0
  261. shpres = 0
  262. firres = 0
  263. plares = 95
  264. acires = 0
  265. moda = 0
  266. }
  267. if (f.armor.selectedIndex == 23) {
  268. protect = 7
  269. melres = 50
  270. bulres = 50
  271. shpres = 50
  272. firres = 0
  273. plares = 0
  274. acires = 0
  275. moda = 0
  276. }
  277.  
  278. if (moda == 1) {
  279.  
  280. if (f.assembly[0].checked) {}
  281. if (f.assembly[1].checked) {
  282. melres = melres + 30
  283. bulres = bulres + 30
  284. shpres = shpres + 30
  285. firres = firres - 30
  286. }
  287. if (f.assembly[2].checked) {
  288. melres = melres - 30
  289. firres = firres + 30
  290. }
  291. if (f.assembly[3].checked) {
  292. protect = Math.floor(protect / 2)
  293. melres = Math.floor(melres / 2)
  294. bulres = Math.floor(bulres / 2)
  295. shpres = Math.floor(shpres / 2)
  296. firres = Math.floor(firres / 2)
  297. plares = Math.floor(plares / 2)
  298. acires = Math.floor(acires / 2)
  299. }
  300. if (f.assembly[4].checked) {
  301. if ((f.armor.selectedIndex == 0) || (f.armor.selectedIndex == 1) || (f.armor.selectedIndex == 2)) {
  302. protect = protect + 1
  303. melres = 25 + melres * 2
  304. bulres = bulres * 2
  305. shpres = shpres * 2
  306. firres = firres * 2
  307. plares = plares * 2
  308. acires = acires * 2
  309. }
  310. }
  311. if (f.assembly[5].checked) {
  312. melres = melres + 25
  313. bulres = bulres + 25
  314. shpres = shpres + 25
  315. firres = firres + 25
  316. plares = plares + 25
  317. acires = acires + 25
  318. }
  319. if (f.assembly[6].checked) {
  320. protect = protect + 4
  321. }
  322. if (f.assembly[7].checked) {
  323. protect = 0
  324. firres = 70
  325. plares = 50
  326. acires = 70
  327. }
  328.  
  329. }
  330.  
  331. if (f.ber.checked) {
  332. melres = melres + 60
  333. bulres = bulres + 60
  334. shpres = shpres + 60
  335. firres = firres + 60
  336. plares = plares + 60
  337. acires = acires + 60
  338. }
  339. if (f.env.checked) {
  340. firres = firres + 25
  341. acires = acires + 25
  342. }
  343.  
  344.  
  345. if (melres > 95) {
  346. melres = 95
  347. }
  348. if (bulres > 95) {
  349. bulres = 95
  350. }
  351. if (shpres > 95) {
  352. shpres = 95
  353. }
  354. if (firres > 95) {
  355. firres = 95
  356. }
  357. if (plares > 95) {
  358. plares = 95
  359. }
  360. if (acires > 95) {
  361. acires = 95
  362. }
  363.  
  364. if ((f.pmod.checked)&&(moda==1)) {
  365. protect = protect + 2
  366. }
  367.  
  368. protect = protect + parseInt(f.tan.value);
  369.  
  370. bonus = 0
  371.  
  372. if (f.monster.selectedIndex == 0) {
  373. if (f.atktype[0].checked) {
  374. type = 0
  375. die = 1
  376. dice = 3
  377. bonus = -1
  378. }
  379. if (f.atktype[1].checked) {
  380. type = 1
  381. die = 2
  382. dice = 4
  383. }
  384. }
  385. if (f.monster.selectedIndex == 1) {
  386. if (f.atktype[0].checked) {
  387. type = 0
  388. die = 1
  389. dice = 3
  390. bonus = 2
  391. }
  392. if (f.atktype[1].checked) {
  393. type = 3
  394. die = 2
  395. dice = 5
  396. }
  397. }
  398. if (f.monster.selectedIndex == 2) {
  399. if (f.atktype[0].checked) {
  400. type = 0
  401. die = 1
  402. dice = 3
  403. bonus = -1
  404. }
  405. if (f.atktype[1].checked) {
  406. type = 2
  407. die = 8
  408. dice = 3
  409. }
  410. }
  411. if (f.monster.selectedIndex == 3) {
  412. type = 0
  413. die = 1
  414. dice = 3
  415. bonus = 5
  416. }
  417. if (f.monster.selectedIndex == 4) {
  418. if (f.atktype[0].checked) {
  419. type = 0
  420. die = 1
  421. dice = 3
  422. }
  423. if (f.atktype[1].checked) {
  424. type = 1
  425. die = 1
  426. dice = 6
  427. }
  428. }
  429. if (f.monster.selectedIndex == 5) {
  430. type = 0
  431. die = 1
  432. dice = 3
  433. bonus = 1
  434. }
  435. if (f.monster.selectedIndex == 6) {
  436. if (f.atktype[0].checked) {
  437. type = 0
  438. die = 1
  439. dice = 3
  440. bonus = 6
  441. }
  442. if (f.atktype[1].checked) {
  443. type = 4
  444. die = 2
  445. dice = 6
  446. }
  447. }
  448. if (f.monster.selectedIndex == 7) {
  449. if (f.atktype[0].checked) {
  450. type = 0
  451. die = 1
  452. dice = 3
  453. bonus = 2
  454. }
  455. if (f.atktype[1].checked) {
  456. type = 4
  457. die = 1
  458. dice = 7
  459. }
  460. }
  461. if (f.monster.selectedIndex == 8) {
  462. type = 0
  463. die = 1
  464. dice = 3
  465. bonus = 6
  466. }
  467. if (f.monster.selectedIndex == 9) {
  468. if (f.atktype[0].checked) {
  469. type = 0
  470. die = 1
  471. dice = 3
  472. bonus = 8
  473. }
  474. if (f.atktype[1].checked) {
  475. type = 5
  476. die = 4
  477. dice = 5
  478. }
  479. }
  480. if (f.monster.selectedIndex == 10) {
  481. if (f.atktype[0].checked) {
  482. type = 0
  483. die = 1
  484. dice = 3
  485. bonus = 2
  486. }
  487. if (f.atktype[1].checked) {
  488. type = 4
  489. die = 1
  490. dice = 5
  491. }
  492. }
  493. if (f.monster.selectedIndex == 11) {
  494. if (f.atktype[0].checked) {
  495. type = 0
  496. die = 1
  497. dice = 3
  498. bonus = 6
  499. }
  500. if (f.atktype[1].checked) {
  501. type = 3
  502. die = 5
  503. dice = 5
  504. }
  505. }
  506. if (f.monster.selectedIndex == 12) {
  507. if (f.atktype[0].checked) {
  508. type = 0
  509. die = 1
  510. dice = 3
  511. bonus = 8
  512. }
  513. if (f.atktype[1].checked) {
  514. type = 3
  515. die = 4
  516. dice = 6
  517. }
  518. }
  519. if (f.monster.selectedIndex == 13) {
  520. if (f.atktype[0].checked) {
  521. type = 0
  522. die = 1
  523. dice = 3
  524. bonus = 6
  525. }
  526. if (f.atktype[1].checked) {
  527. type = 3
  528. die = 20
  529. dice = 1
  530. }
  531. }
  532. if (f.monster.selectedIndex == 14) {
  533. type = 0
  534. die = 1
  535. dice = 3
  536. bonus = 10
  537. }
  538. if (f.monster.selectedIndex == 15) {
  539. if (f.atktype[0].checked) {
  540. type = 0
  541. die = 1
  542. dice = 3
  543. bonus = 8
  544. }
  545. if (f.atktype[1].checked) {
  546. type = 4
  547. die = 2
  548. dice = 7
  549. }
  550. }
  551. if (f.monster.selectedIndex == 16) {
  552. if (f.atktype[0].checked) {
  553. type = 0
  554. die = 1
  555. dice = 3
  556. bonus = 3
  557. }
  558. if (f.atktype[1].checked) {
  559. type = 4
  560. die = 1
  561. dice = 6
  562. }
  563. }
  564. if (f.monster.selectedIndex == 17) {
  565. if (f.atktype[0].checked) {
  566. type = 0
  567. die = 1
  568. dice = 3
  569. bonus = 8
  570. }
  571. if (f.atktype[1].checked) {
  572. type = 3
  573. die = 25
  574. dice = 1
  575. }
  576. }
  577. if (f.monster.selectedIndex == 18) {
  578. if (f.atktype[0].checked) {
  579. type = 0
  580. die = 1
  581. dice = 3
  582. bonus = 1
  583. }
  584. if (f.atktype[1].checked) {
  585. type = 1
  586. die = 3
  587. dice = 3
  588. }
  589. }
  590. if (f.monster.selectedIndex == 19) {
  591. if (f.atktype[0].checked) {
  592. type = 0
  593. die = 1
  594. dice = 3
  595. bonus = 1
  596. }
  597. if (f.atktype[1].checked) {
  598. type = 2
  599. die = 7
  600. dice = 3
  601. }
  602. }
  603. if (f.monster.selectedIndex == 20) {
  604. if (f.atktype[0].checked) {
  605. type = 0
  606. die = 1
  607. dice = 3
  608. bonus = 1
  609. }
  610. if (f.atktype[1].checked) {
  611. type = 4
  612. die = 7
  613. dice = 3
  614. }
  615. }
  616. if (f.monster.selectedIndex == 21) {
  617. if (f.atktype[0].checked) {
  618. type = 0
  619. die = 1
  620. dice = 3
  621. bonus = 1
  622. }
  623. if (f.atktype[1].checked) {
  624. type = 2
  625. die = 8
  626. dice = 4
  627. }
  628. }
  629. if (f.monster.selectedIndex == 22) {
  630. if (f.atktype[0].checked) {
  631. type = 0
  632. die = 1
  633. dice = 3
  634. bonus = 1
  635. }
  636. if (f.atktype[1].checked) {
  637. type = 4
  638. die = 1
  639. dice = 7
  640. }
  641. }
  642. if (f.monster.selectedIndex == 23) {
  643. if (f.atktype[0].checked) {
  644. type = 0
  645. die = 1
  646. dice = 3
  647. bonus = 1
  648. }
  649. if (f.atktype[1].checked) {
  650. type = 1
  651. die = 1
  652. dice = 8
  653. }
  654. }
  655. if (f.monster.selectedIndex == 24) {
  656. if (f.atktype[0].checked) {
  657. type = 0
  658. die = 1
  659. dice = 3
  660. bonus = 3
  661. }
  662. if (f.atktype[1].checked) {
  663. type = 3
  664. die = 6
  665. dice = 6
  666. }
  667. }
  668. if (f.monster.selectedIndex == 25) {
  669. if (f.atktype[0].checked) {
  670. type = 0
  671. die = 1
  672. dice = 3
  673. bonus = 3
  674. }
  675. if (f.atktype[1].checked) {
  676. type = 3
  677. die = 7
  678. dice = 7
  679. }
  680. }
  681. if (f.monster.selectedIndex == 26) {
  682. if (f.atktype[0].checked) {
  683. type = 0
  684. die = 1
  685. dice = 3
  686. bonus = 3
  687. }
  688. if (f.atktype[1].checked) {
  689. type = 4
  690. die = 4
  691. dice = 5
  692. }
  693. }
  694. if (f.monster.selectedIndex == 27) {
  695. if (f.atktype[0].checked) {
  696. type = 0
  697. die = 1
  698. dice = 3
  699. bonus = 8
  700. }
  701. if (f.atktype[1].checked) {
  702. type = 4
  703. die = 4
  704. dice = 5
  705. }
  706. }
  707. if (f.monster.selectedIndex == 28) {
  708. if (f.atktype[0].checked) {
  709. type = 0
  710. die = 1
  711. dice = 3
  712. bonus = 8
  713. }
  714. if (f.atktype[1].checked) {
  715. type = 3
  716. die = 5
  717. dice = 4
  718. }
  719. }
  720. if (f.monster.selectedIndex == 29) {
  721. type = 0
  722. die = 1
  723. dice = 3
  724. bonus = 15
  725. }
  726. if (f.monster.selectedIndex == 30) {
  727. if (f.atktype[0].checked) {
  728. type = 0
  729. die = 1
  730. dice = 3
  731. bonus = 6
  732. }
  733. if (f.atktype[1].checked) {
  734. type = 4
  735. die = 10
  736. dice = 1
  737. }
  738. }
  739. if (f.monster.selectedIndex == 31) {
  740. if (f.atktype[0].checked) {
  741. type = 0
  742. die = 1
  743. dice = 3
  744. bonus = 15
  745. }
  746. if (f.atktype[1].checked) {
  747. type = 3
  748. die = 6
  749. dice = 6
  750. }
  751. }
  752. if (f.monster.selectedIndex == 32) {
  753. if (f.atktype[0].checked) {
  754. type = 0
  755. die = 1
  756. dice = 3
  757. bonus = 3
  758. }
  759. if (f.atktype[1].checked) {
  760. type = 4
  761. die = 3
  762. dice = 5
  763. }
  764. }
  765. if (f.monster.selectedIndex == 33) {
  766. if (f.atktype[0].checked) {
  767. type = 0
  768. die = 1
  769. dice = 3
  770. bonus = 18
  771. }
  772. if (f.atktype[1].checked) {
  773. type = 4
  774. die = 40
  775. dice = 1
  776. }
  777. }
  778.  
  779.  
  780.  
  781.  
  782. var count = 1000;
  783.  
  784. for (j = 0; j < count; j++) {
  785.  
  786. damage = 0;
  787.  
  788. for (i = 1; i <= die; i++) {
  789. damage = damage + Math.floor(1 + (dice * Math.random()));
  790. }
  791.  
  792. damage = damage + bonus;
  793.  
  794. if (type == 0) {
  795. damage = damage * (1 - 0.01 * melres)
  796. damage = damage - parseInt(protect);
  797. }
  798. if (type == 1) {
  799. damage = damage * (1 - 0.01 * bulres)
  800. damage = damage - parseInt(protect);
  801. }
  802. if (type == 2) {
  803. damage = damage * (1 - 0.01 * shpres)
  804. damage = damage - 2 * parseInt(protect);
  805. }
  806. if (type == 3) {
  807. damage = damage * (1 - 0.01 * firres)
  808. damage = damage - parseInt(protect);
  809. }
  810. if (type == 4) {
  811. damage = damage * (1 - 0.01 * plares)
  812. damage = damage - Math.floor(parseInt(protect) / 2);
  813. }
  814. if (type == 5) {
  815. damage = damage * (1 - 0.01 * acires)
  816. damage = damage - parseInt(protect);
  817. }
  818.  
  819. damage = Math.floor(damage);
  820. if (damage <= 1) {
  821. damage = 1;
  822. }
  823.  
  824. avgdam = avgdam + damage;
  825.  
  826. }
  827.  
  828. avgdam = avgdam / count;
  829.  
  830. restext = "Total protection : "
  831. restext += protect
  832. restext += "<br>Resistance : "
  833. restext += "Melee "
  834. restext += melres
  835. restext += "% Bullet "
  836. restext += bulres
  837. restext += "% Sharpnel "
  838. restext += shpres
  839. restext += "% Fire "
  840. restext += firres
  841. restext += "% Plasma "
  842. restext += plares
  843. restext += "% Acid "
  844. restext += acires
  845. restext += "%"
  846.  
  847.  
  848.  
  849. restext += "<br><br>Average damage taken : "
  850. restext += avgdam
  851.  
  852. Result.innerHTML = restext
  853.  
  854.  
  855.  
  856.  
  857. }
  858. </script>
  859.  
  860. <form>
  861.  
  862. <br>
  863.  
  864. <select name="armor">
  865. <option>Green armor</option>
  866. <option>Blue armor</option>
  867. <option>Red armor</option>
  868. <option>Ballistic vest</option>
  869. <option>Duelist armor</option>
  870. <option>Bullet-proof vest</option>
  871. <option>Medical armor</option>
  872. <option>Energy-shielded vest</option>
  873. <option>Gothic armor</option>
  874. <option>Phaseshift armor</option>
  875. <option>Onyx armor</option>
  876. <option>Cybernetic Armor</option>
  877. <option>Malek's Armor</option>
  878. <option>Lava Armor</option>
  879. <option>Medical Powerarmor</option>
  880. <option>Necroarmor</option>
  881. <option>Shielded Armor</option>
  882. <option>Berserker Armor</option>
  883. <option>Tower shield</option>
  884. <option>Fireshield</option>
  885. <option>Ballistic shield</option>
  886. <option>Energy shield</option>
  887. <option>Plasma shield</option>
  888. <option>Angelic Armor</option>
  889. </select>
  890.  
  891.  
  892. &nbsp;&nbsp;
  893. <br>TaN (or additional protection) :
  894. <input type="text" name="tan" maxlength="2" size="2"><br> Power mod :
  895. <input type="checkbox" name="pmod">&nbsp;&nbsp; Berserk :
  896. <input type="checkbox" name="ber">&nbsp;&nbsp; Envirosuit :
  897. <input type="checkbox" name="env">
  898. <br>
  899. <br>
  900. <br>Assembly :
  901. <br>
  902. <input type="radio" id="plain" name="assembly" checked>Plain &nbsp;&nbsp;
  903. <input type="radio" id="bal" name="assembly">Ballistic &nbsp;&nbsp;
  904. <input type="radio" id="fir" name="assembly">Fireproof &nbsp;&nbsp;
  905. <input type="radio" id="nfib" name="assembly">Nanofiber
  906. <br>
  907. <input type="radio" id="pwd" name="assembly">Powered &nbsp;&nbsp;
  908. <input type="radio" id="nfibskin" name="assembly">Nanoskin &nbsp;&nbsp;
  909. <input type="radio" id="cyb" name="assembly">Cybernano &nbsp;&nbsp;
  910. <input type="radio" id="cerb" name="assembly">Cerberus &nbsp;&nbsp;
  911.  
  912. <br>
  913. <br>
  914. <br>Enemy Attack :
  915. <select name="monster">
  916. <option>Former human</option>
  917. <option>Imp</option>
  918. <option>Former sergeant</option>
  919. <option>Demon</option>
  920. <option>Former captain (4 shots)</option>
  921. <option>Lost soul</option>
  922. <option>Hell knight/Cacodemon/Nightmare imp</option>
  923. <option>Former commando</option>
  924. <option>Pain elemental/Agony elemental</option>
  925. <option>Baron of hell/Bruiser brother</option>
  926. <option>Arachnotron (5 shots)</option>
  927. <option>Revenant</option>
  928. <option>Mancubus (3 shots)</option>
  929. <option>Arch-vile</option>
  930. <option>Nightmare demon</option>
  931. <option>Nightmare cacodemon</option>
  932. <option>Nightmare arachnotron (6 shots)</option>
  933. <option>Nightmare arch-vile</option>
  934. <option>Elite former human</option>
  935. <option>Elite former sergeant (assault shotgun)</option>
  936. <option>Elite former sergeant (plasma shotgun)</option>
  937. <option>Elite former sergeant (super shotgun, 2 shots)</option>
  938. <option>Elite former captain (laser rifle, 5 shots)</option>
  939. <option>Elite former captain (minigun, 8 shots)</option>
  940. <option>Elite former commando (missile launcher)</option>
  941. <option>Elite former commando (napalm launcher)</option>
  942. <option>Elite former commando (tristar blaster, 3 shots)</option>
  943. <option>Shambler</option>
  944. <option>Lava elemental</option>
  945. <option>Angel of Death</option>
  946. <option>Arena Master</option>
  947. <option>Cyberdemon/John Carmack</option>
  948. <option>Spider Mastermind (4 shots)</option>
  949. <option>Apostle</option>
  950. </select>
  951. <br>
  952. <input type="radio" id="melee" name="atktype" checked>Melee &nbsp;&nbsp;
  953. <input type="radio" id="ranged" name="atktype">Ranged &nbsp;&nbsp;
  954. <br>
  955. <br>
  956.  
  957. <input type="button" value="Calculate" onclick="calc(this.form);">
  958. <br>
  959. <br>
  960.  
  961. <div id="Result"></div>
  962.  
  963.  
  964. </form>
  965.  
  966. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement