Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package pokemon;
  7.  
  8. /**
  9. *
  10. * @author Derek
  11. */
  12. public class pokemonData {
  13.  
  14. static int enemyHP = 0;
  15. static int enemyDMG = 0;
  16. static int enemyLVL = 0;
  17. static Player callPlayer = new Player();
  18.  
  19.  
  20. /* Tim, Dom, Zach, Scott, Josh, Derek, John, Ali, Riley, Carson, Vincent, Briggs, Josh, Murphey, Chad, Calinda, Brandon, Ethan, Jacob, Andrew, Armeet, */
  21. public static void Battle() {
  22.  
  23. System.out.println("Trainer: \t Opponent:");
  24. System.out.println(callPlayer.firstPokemon());
  25.  
  26. }
  27.  
  28. public static void Tim() {
  29.  
  30. }
  31. public static void Dom() {
  32.  
  33. }
  34. public static void Zach() {
  35.  
  36. }
  37. public static void Scott() {
  38.  
  39. }
  40. public static void JoshY() {
  41.  
  42. }
  43. public static void Derek() {
  44.  
  45. }
  46. public static void John() {
  47.  
  48. }
  49. public static void Ali() {
  50.  
  51. }
  52. public static void Riley() {
  53.  
  54. }
  55. public static void Carson() {
  56.  
  57. }
  58. public static void Vincent() {
  59.  
  60. }
  61. public static void Briggs() {
  62. enemyHP = (int)((Math.random() * 5) * enemyLVL) ;
  63. enemyDMG = (int)((Math.random() * 2) * enemyLVL) ;
  64. }
  65. public static void JoshB() {
  66.  
  67. }
  68. public static void Chad() {
  69. enemyHP = (int)((Math.random() * 10) * enemyLVL) ;
  70. enemyDMG = (int)((Math.random() * 4) * enemyLVL) ;
  71. }
  72.  
  73. public static void determineOpponent() {
  74.  
  75. int rand = (int)(Math.random() * 100) + 1;
  76.  
  77. if (rand < 10) {
  78.  
  79. }
  80. if (rand >= 10 && rand < 20 ) {
  81.  
  82. }
  83. if (rand >= 20 && rand < 30) {
  84.  
  85. }
  86. if (rand >= 30 && rand < 40) {
  87.  
  88. }
  89. if (rand >= 40 && rand < 50) {
  90.  
  91. }
  92. if (rand >= 50 && rand < 60) {
  93.  
  94. }
  95. if (rand >= 60 && rand < 70) {
  96.  
  97. }
  98. if (rand >= 70 && rand < 80) {
  99.  
  100. }
  101. if (rand >= 80 && rand < 90) {
  102.  
  103. }
  104. if (rand >= 90) {
  105.  
  106. }
  107.  
  108. }
  109.  
  110.  
  111. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement