GamePress

Game

Last Updated: November 16, 2018

Deck Summary

Deck Cost: 2,400
0 0 3 0 0 0 0 0
1 2 3 4 5 6 7 8+
Followers: 0
Spells: 0
Amulets: 3

Mulligan/Draw Simulator

Deck Overview

/******************************************************************************

Online Java Debugger.
Code, Run and Debug Java program online.

Write your code in this editor and press "Debug" button to debug program.

*******************************************************************************/

public class Main
{

public static void main(String[] args) {
fd5();
} // end of main

private static void fd5(){

//Customasation

//Auswahl der Klasse
System.out.print("Class A?: ");
long aclass=Integer.parseInt(System.console().readLine());

System.out.print("Ultimate A?: ");
long alim=Integer.parseInt(System.console().readLine());

System.out.print("CPU?(1-6 or 0): ");
long bcpu=Integer.parseInt(System.console().readLine());

int bclass = 0, blim = 0;

if (bcpu==0) { bcpu=(int)(Math.random()*6+1);}

if (bcpu==1) {bclass = 1; blim = 2;}
if (bcpu==2) {bclass = 2; blim = 3;}
if (bcpu==3) {bclass = 3; blim = 3;}
if (bcpu==4) {bclass = 4; blim = 1;}
if (bcpu==5) {bclass = 5; blim = 3;}
if (bcpu==6) {bclass = 6; blim = 1;}

//Stat Deklaration
int ahp = 0, amhp = 0, aatk=0, amag = 0, askd = 0, asku=0, aammo = 0, amammo = 7;
int bhp = 0, bmhp = 0, batk=0, bmag = 0, bskd = 0, bsku=0, bammo = 0, bmammo = 7;

//Zustand
int apoi = 0, bpoi = 0, areg = 0, breg = 0;

//Stats setzen

//A

if (aclass == 0) {amhp = 900; ahp = amhp; aatk = 50; amag = 60; askd = 2; asku = 100; System.out.println("Player A has choosen Witch");};

if (aclass == 1) {amhp = 1075; ahp = amhp; aatk = 80; amag = 50; askd = 1; asku = 100; System.out.println("Player A has choosen Knight");};

if (aclass == 2) {amhp = 800; ahp = amhp; aatk = 50; amag = 60; askd = 2; asku = 100; System.out.println("Player A has choosen Prist");};
if (aclass == 3) {amhp = 725; ahp = amhp; aatk = 70; amag = 0; askd = 3; asku = 100; System.out.println("Player A has choosen Assasin");};
if (aclass == 4) {amhp = 1550; ahp = amhp; aatk = 55; amag = 40; askd = 2; asku = 100; System.out.println("Player A has choosen Tank");};
if (aclass == 5) {amhp = 850; ahp = amhp; aatk = 50; amag = 60; askd = 2; asku = 100; System.out.println("Player A has choosen Mage");};
if (aclass == 6) {amhp = 1200; ahp = amhp; aatk = 50; amag = 0; askd = 0; aammo = 0; asku = 100; System.out.println("Player A has choosen Gunner");};

//B
if (bclass == 0) {bmhp = 900; bhp = bmhp; aatk = 50; bmag = 60; bskd = 2; bsku = 100; System.out.println("Player B has choosen Witch");};

if (bclass == 1) {bmhp = 1075; bhp = bmhp; batk = 80; bmag = 50; bskd = 1; bsku = 100; System.out.println("Player B has choosen Knight");};
if (bclass == 2) {bmhp = 800; bhp = bmhp; batk = 50; bmag = 70; bskd = 2; bsku = 100; System.out.println("Player B has choosen Prist");};

if (bclass == 3) {bmhp = 725; bhp = bmhp; batk = 70; bmag = 0; bskd = 3; bsku = 100; System.out.println("Player B has choosen Assasin");};
if (bclass == 4) {bmhp = 1550; bhp = bmhp; batk = 55; bmag = 40; bskd = 2; bsku = 100; System.out.println("Player B has choosen Tank");};
if (bclass == 5) {bmhp = 850; bhp = bmhp; batk = 50; bmag = 60; bskd = 2; bsku = 100; System.out.println("Player B has choosen Mage");};
if (bclass == 6) {bmhp = 1200; bhp = bmhp; batk = 50; bmag = 0; bskd = 0; bammo = 0; bsku = 100; System.out.println("Player B has choosen Gunner");};

//Statausgabe

//A

System.out.println("");
System.out.println("A HP: "+ahp);

System.out.println("A ATK: "+aatk);
System.out.println("A MAG: "+amag);
System.out.println("A SKD: "+askd);
if (aclass == 3) {System.out.println("Ability: Counter +1");};
if (aclass == 0) {System.out.println("Ability: Resonance (even and uneven turn)");};

{System.out.println("");};

//B
System.out.println("B HP: "+bhp);
System.out.println("B ATK: "+batk);
System.out.println("B MAG: "+bmag);
System.out.println("B SKD: "+bskd);
if (bclass == 3) {System.out.println("Ability: Counter +1");};
if (bclass == 0) {System.out.println("Ability: Resonance (even and uneven turn)");};
System.out.println("");

//Rundenzahl, Wuerfelzahl, b, i, j
int a = 1, b = 0, c = 0, d = 0, ai=7, bi=7, aireg = 7, bireg = 7, ad = 7, bd = 7;

//Battle
while (a<9991) {

System.out.println("Start of Turn:: "+a);

//Announcements
if (aclass==2&&a==7) {System.out.println("A's Deathcurse(2) is Ready!!!");};
if (bclass==2&&a==7) {System.out.println("B's Deathcurse(2) is Ready!!!");};

if (alim==3&&aclass==5&&a==5) {System.out.println("A's Vitality Absorbtion(0) is Ready!!!");};
if (blim==3&&bclass==5&&a==5) {System.out.println("B's Vitality Absorbtion(0) is Ready!!!");};

if (alim==2&&aclass==5&&a==6) {System.out.println("A's Magic Storm(0) is Ready!!!");};
if (blim==2&&bclass==5&&a==6) {System.out.println("B's Magic Storm(0) is Ready!!!");};

if (aclass==5&&( a % 5 ) == 0 ) {System.out.println("A's Skill Charge(4) possiable this turn!!!");};
if (bclass==5&&( a % 5 ) == 0 ) {System.out.println("B's Skill Charge(4) possiable this turn!!!");};

//Move A
System.out.print("Your Action (A)!: ");
long e=Integer.parseInt(System.console().readLine());

c = (int)(Math.random()*6+1);

d = (int)(Math.random()*6+1);

if (aclass == 3) {c = c + 1;};
if (bclass == 3) {d = d + 1;};

//Basic Moves A
if (e==1) { bhp = bhp - (aatk + 2 * (int)(Math.random()*aatk+1));};

if (e==5&&c>4) {bhp = bhp - 2 * aatk * c / 3;};

if (e>5) { bhp = bhp - (aatk + 2 * (int)(Math.random()*aatk+1));};

//ASU Skills A Even
if (e==2&&aclass==0&&( a % 2 ) == 0 )
{ahp = ahp + 75; bpoi = bpoi + 30;};

if (e==3&&aclass==0&&( a % 2 ) == 0 )
{apoi = 0; bpoi = 0;};

if (e==4&&aclass==0&&( a % 2 ) == 0 )
{asku = asku + 100;};

//ASU Skills A Uneven
if (e==2&&aclass==0&&( a % 2 ) == 1 )
{bhp = bhp - 75; bpoi = bpoi + 30;};

if (e==3&&aclass==0&&( a % 2 ) == 1 )

{areg = 0; breg = 0;};

if (e==4&&aclass==0&&( a % 2 ) == 1 )

{bsku = bsku -100;};

//Warrior Skills A
if (e==2&&aclass==1) {aatk = aatk + 15;};
if (e==3&&aclass==1&&apoi>49) {apoi = apoi -50;};
if (e==4&&aclass==1) {bhp = bhp - (amhp - ahp) / 4 * (int)(Math.random()*1+1);};

//Prist Skills A
if (e==2&&aclass==2&&a==7) {bhp = bhp - ahp;};
if (e==2&&aclass==2&&c>3) {ahp = ahp + 200;};
if (e==3&&aclass==2) {bhp = bhp - 100;};
if (e==4&&aclass==2) {a = 6; System.out.println("A Setzt die Rundenzahl auf 6");};

//Assasin Skills A
if (e==2&&aclass==3) { bhp = bhp - aatk; bpoi = bpoi + 30;};
if (e==3&&aclass==3&&bpoi>69) {bpoi = bpoi + 60;};
if (e==4&&aclass==3) {bi=0; System.out.println("A wirft eine Giftgranate");};

//Tank
if (e==2&&aclass==4) {aatk = aatk + 15;};
if (e==3&&aclass==4) {ahp = ahp +1000; ad = 1; apoi= apoi + 300;};
if (e==4&&aclass==4&&areg<50) {aireg = 1; areg = 50; ad = 1;
System.out.println("A regenerates!");};

//Mage Skills A
if (e==2&&aclass==5&&c>4) {bhp = bhp - c * amag;};
if (e==3&&aclass==5) {bhp = bhp - 2 * amag; amag = amag + 5;};
if (e==4&&aclass==5&&( a % 5 ) == 0 )
{
asku = 100;
System.out.println("A hat nun volle skill uses!!!");
};

//Gunner Skills A
if (e==2&&aclass==6&&aammo>0) {bhp = bhp - (aatk * 9) / 2; aammo = aammo - 1;};

if (e==3&&aclass==6&&aammo>0) {bhp = bhp - (aatk * aammo * 3) / 2; System.out.println("Shotgun"); aammo = 0;};

if (e==4&&aclass==6) {aammo = aammo + c; System.out.println("A hat nachgeladen"); if(aammo>amammo)
{aammo = amammo;
}};

//Limits A

//Gunner
if (alim==1&&e==0&&aclass==6&&asku>99) {asku = asku - 100; aammo = amammo; System.out.println("A uses second magazine.");};

if (alim==2&&e==3&&aclass==6&&asku>49) {bhp = bhp - 2 * aatk; asku = asku - 50; System.out.println("A's Shotgun was amplified");};

if (alim==3&&aclass==6&&asku>0) {aammo = aammo + 1; System.out.println("Extra Reload for A"); if(aammo>amammo)
{aammo = amammo;}};

//ASU
if (alim==1&&e==0&&aclass==0) {a = 0; ahp = ahp + 100;

System.out.println("Rundenzahl = 0!!!");
};

if (alim==2&&e==0&&aclass==0&&a % 2== 0&&asku >99) {

ahp = ahp + amhp / 2; asku = -400;
};

if (alim==2&&e==0&&aclass==0&&( a % 2 ) == 1&&asku >99) {
bhp = bhp - bmhp / 2; asku = -400;
};

if (alim==3&&e==0&&aclass==0&&asku >99) {
areg = amhp / 20; bpoi = bmhp / 20; asku = asku -100;
};

//Warrior
if (alim==1&&e==0&&aclass==1&&asku>49) { bhp = bhp - 200; asku = asku - 50;};

if (alim==2&&e==0&&aclass==1&&asku>99) {ahp = ahp + 150; bsku = 0; asku = asku - 100;};

if (alim==3&&e==1&&aclass==1&&asku>24) { aatk = aatk + 7; asku = asku - 25;};

//Prist
if (alim==1&&e==0&&aclass==2&&asku>49) { ahp = ahp + 215; asku = asku - 50;};

if (alim==2&&e==0&&aclass==2&&asku>99) {bhp = bhp -50; bmag = bmag -20; batk = batk -20; asku = asku - 100;};

if (alim==3&&e==2&&aclass==2&&asku>0) { ahp = ahp + 80; asku = asku - 0;};

//Assasin
if (alim==1&&e==0&&aclass==3&&asku>99) {bhp = bhp - 375; asku = asku - 100;};

if (alim==2&&e==0&&aclass==3&&asku>99) {bpoi = bpoi + 50; asku = asku - 100;};

if (alim==3&&e==1&&aclass==3&&asku>0) {aatk = aatk + 5 * c; System.out.println("A's atk is now: "+aatk);};

//Tank

if (alim==1&&e==0&&aclass==4&&asku>32) { bhp = bhp - aatk * 2; ahp = ahp + 100; asku = asku - 33;};

if (alim==2&&e==0&&aclass==4&&asku>49) { ahp = 350 ; asku = asku - 50;};

if (alim==3&&e==1&&aclass==4&&asku>0) { ahp = ahp + 25;};

//Mage
if (alim==1&&e==0&&aclass==5&&asku>24) { bhp = bhp - amag * 4; asku = asku - 25;};

if (alim==2&&e==0&&aclass==5&&asku>99&&a>5) {asku = asku - 100; ; amag = amag * 5;};

if (alim==3&&e==0&&aclass==5&&asku>99&&a>4)
{ahp = ahp + amag * 4; bpoi = bpoi + amag; asku = asku - 100; amag = amag + 20;};

//Move B
int f = 6;

//Skills B
int bmove = 1;

//ASU Skills B Even
if (f==2&&bclass==0&&( a % 2 ) == 0 )
{bhp = bhp + 75; apoi = apoi + 30;};

if (f==3&&bclass==0&&( a % 2 ) == 0 )
{apoi = 0; bpoi = 0;};

if (f==4&&bclass==0&&( a % 2 ) == 0 )
{bsku = bsku + 100;};

//ASU Skills B Uneven
if (f==2&&bclass==0&&( a % 2 ) == 1 )
{ahp = ahp - 75; apoi = apoi + 30;};

if (f==3&&bclass==0&&( a % 2 ) == 0 )
{areg = 0; breg = 0;};

if (f==4&&bclass==0&&( a % 2 ) == 0 )
{asku = asku -100;};

bmove = 1;
//Warrior CPU Skills

if (batk<ahp+(aatk/4)&&bhp<240&&bclass==1&&bmove == 1) {ahp = ahp - (((bmhp - bhp) / 4) * (int)(Math.random()*1+1)); bmove = bmove - 3; System.out.println("For the king!");}; //low hp move

if (blim==2&&bclass==1&&bsku>99&&bmove == 1&&a==1&&asku>90) {batk = batk -15; bhp = bhp + 150; asku = 0; bsku = bsku - 100; System.out.println("No Ult for you!");}; // counter ult move

if (bpoi > 49&&bclass==1&&bmove == 1) {bpoi = bpoi -50; bmove = 0;}; //detox

if (a<3&&bclass==1&&bmove==1) {batk = batk + 15; bmove = 0; System.out.println("Me is strongest!");}; //buff atk

if(a>2&&bclass==1&&bmove == 1) { ahp = ahp - (batk + 2 * (int)(Math.random()*batk+1)); bmove = 0; System.out.println("Attack!!!");}; //regular damage

//Prist CPU Skills
if (bmove==1&&bclass==2&&a==7&&ahp<101) {ahp = ahp - bhp; bmove = 0;}; //kill 1
if (bmove==1&&bclass==2&&ahp<101) {ahp = ahp - 100; bmove = 0;}; //kill 2
if (bmove==1&&bclass==2&&a>7) {ahp = ahp - 100; bmove = 0;}; //atk

if (bmove==1&&bclass==2&&a==7) {ahp = ahp - bhp;}; //heal kill 1
if (bmove==1&&bclass==2&&d>3) {bhp = bhp + 200; bmove = 1;}; //heal
if (bmove==1&&bclass==2&&bsku>0) { bhp = bhp + 80; bsku = bsku - 0; bmove = 0;};

//Assasin CPU Skills

if (bmove==1&&bclass==3&&batk>109&&d>4) {ahp = ahp - 2 * batk * d / 3; bmove = 0;}; //kill if not triggered trigger atk boost

if (blim==3&&bmove==1&&bclass==3&&bsku>0) {ahp = ahp - (batk + 2 * (int)(Math.random()*batk+1));
batk = batk + d * 4; System.out.println("B's atk is now: "+batk); bmove = 0;}; //atk boost if impossible trigger normal atk

if (blim==3&&bmove==1&&bclass==3&&ahp<batk * 2) {ahp = ahp - (batk + 2 * (int)(Math.random()*batk+1)); bmove=0;
}; //normal attack if pot kill

if (bmove==1&&bclass==3&&d>4) {ahp = ahp - 2 * batk * d / 3; bmove = 0;}; //kill if not triggered trigger atk boost

//Tank CPU Skills
if (bmove==1&&bclass==4&& ahp < (3 * batk) / 2) {ahp = ahp - (batk + 2 * (int)(Math.random()*batk+1));
bmove = 0;}; //attack if kill

if (bmove==1&&bclass==4&&bhp<1) {bhp = bhp + 1000; bd = 1; bpoi = bpoi + 300; bmove = 0;}; //last stand

if (bmove==1&&bclass==4&&a==1) {batk = batk + 15; bmove=0;}; //buff

if (bmove==1&&bclass==4&&bsku>32) { ahp = ahp - batk * 2; bhp = bhp + 100; bsku = bsku - 33; bmove = 0;}; //ultra move

if (bmove==1&&bclass==4) {ahp = ahp - (batk + 2 * (int)(Math.random()*batk+1));
bmove = 0;}; //regular attack

//Mage CPU Skills

if (bmove==1&&bclass==5&&d>4&&ahp<=5*bmag) {ahp = ahp - d * bmag; bmove=0;}; //opness killa

if (blim==3&&bclass==5&&bsku>99&&a>4&&bmove==1) {bhp = bhp + bmag * 4; apoi = apoi + bmag; bsku = bsku - 100; bmag = bmag + 20; bmove = 0;};
//Limit charge

if (bhp>190&&bmove==1&&bclass==5&&( a % 5 ) == 0 )
{
bsku = 100;
System.out.println("B hat nun volle skill uses!!!");
bmove = 0;
}; //recharge

if (bmove==1&&bclass==5) {ahp = ahp - 2 * bmag; bmag = bmag + 5;}; //Fireball base attack

//Gunner CPU Skills
if (bclass==6&&bammo>4&&bmove==1) {ahp = ahp - (batk * bammo * 3) / 2; System.out.println("Shotgun"); bammo = 0; bmove= 0;}; //Shotgun

if (bclass==6&&bmove==1&&ahp<=(batk * 9) / 2) {ahp = ahp - (batk * 9) / 2; bammo = bammo - 1;}; //kill shot

if(bclass==6&&bmove == 1&&ahp <= (aatk * 3) / 2)
{ ahp = ahp - (batk + 2 * (int)(Math.random()*batk+1)); bmove = 0; System.out.println("Attack!!!");}; //regular damage

if (blim==1&&bclass==6&&bsku>99&&bmove==1&&a==1)
{bmove=0; bsku = bsku - 100; bammo = bmammo; System.out.println("B uses second magazine.");}; //Insta reload Limit

if (bclass==6&&bammo==2&&bmove==1) {ahp = ahp - (batk * 9) / 2; bammo = bammo - 1; bmove=0;}; //regular shot

if (bclass==6&&bmove==1) {bammo = bammo + d; System.out.println("B hat nachgeladen"); if(bammo>bmammo)
{bammo = bmammo; bmove = 0;
}};

//Limits B

//ASU
if (blim==1&&f==0&&bclass==0) {a = 0; bhp = bhp + 100;
System.out.println("Rundenzahl = 0!!!");
};

if (blim==2&&f==0&&bclass==0&&a % 2== 0&&bsku >99) {
bhp = bhp + bmhp / 2; bsku = -400;
};

if (blim==2&&f==0&&bclass==0&&( a % 2 ) == 1&&bsku >99) {
ahp = ahp - amhp / 2; bsku = -400;
};

if (blim==3&&f==0&&bclass==0&&bsku >99) {
breg = bmhp / 20; bpoi = amhp / 20; bsku = bsku -100;
};

//Warrior
if (blim==1&&f==0&&bclass==1&&bsku>49) { ahp = ahp - 200; bsku = bsku - 50;};

if (blim==2&&f==0&&bclass==1&&bsku>99) {bhp = bhp + 150; asku = 0; bsku = bsku - 100;};

if (blim==3&&f==1&&bclass==1&&bsku>24) { batk = batk + 7; bsku = bsku - 25;};

//Prist
if (blim==1&&f==0&&bclass==2&&bsku>49) { bhp = bhp + 215; bsku = bsku - 50;};

if (blim==2&&f==0&&bclass==2&&bsku>99) {ahp = ahp -50; amag = amag -20; aatk = aatk -20; bsku = bsku - 100;};

if (blim==3&&f==2&&bclass==2&&bsku>0) { bhp = bhp + 80; bsku = bsku - 0;};

//Assasin
if (blim==1&&f==0&&bclass==3&&bsku>99) {ahp = ahp - 375; bsku = bsku - 100;};

if (blim==2&&f==0&&bclass==3&&bsku>99) {apoi = apoi + 50;};

if (blim==3&&f==1&&bclass==3&&bsku>0) {batk = batk + 5 * c; System.out.println("B's atk is now: "+batk);};

//Tank
if (blim==1&&f==0&&bclass==4&&bsku>32) { ahp = ahp - batk * 2; bhp = bhp + 100; bsku = bsku - 33;};

if (blim==2&&f==0&&bclass==4&&bsku>49) { bhp = 350; bsku = bsku - 50;};

if (blim==3&&f==1&&bclass==4&&bsku>0) { bhp = bhp + 25;};

//Mage
if (blim==1&&f==0&&bclass==5&&bsku>24) { ahp = ahp - bmag * 4; bsku = bsku - 25;};

if (blim==2&&f==0&&bclass==5&&bsku>49&&a>2) {ahp = ahp - 2 * bmag; apoi = apoi + bmag; bsku = bsku - 50;};

if (blim==3&&f==0&&bclass==5&&bsku>99&&a>4) {bhp = bhp + bmag * 4; apoi = apoi + bmag; bsku = bsku - 100; bmag = bmag + 20;};

//Damage Calculation

//Status Effects A
if(ai<3) {apoi = apoi + 30;};
if (ai == 2) {apoi = apoi -90; System.out.println("B´s Giftgranate verliert an Wirkung!");};

if (apoi > 1) {ahp = ahp - apoi;};

if (aireg == 4) {areg = areg -50; System.out.println("A´s Regenaration hört auf!");};
if (areg > 1) {ahp = ahp + areg;};

if (ad == 3) {ahp = -9999; System.out.println("Death by Dopping!");};

//Status Effects B
if(bi<3) {bpoi = bpoi + 30;};
if (bi == 2) {bpoi = bpoi -90; System.out.println("A´s Giftgranate verliert an Wirkung!");};

if (bpoi > 1) {bhp = bhp - bpoi;};

if (bireg == 4) {breg = breg -50; System.out.println("B´s Regenaration hört auf!");};
if (breg > 1) {bhp = bhp + breg;};

if (bd == 3) {bhp = -9999; System.out.println("Death by Dopping!");};

//End
if (apoi>0) {System.out.println("A takes Poison Damage: "+apoi);};

if (areg>0) {System.out.println("A regenerates: "+areg);};

if (bpoi>0) {System.out.println("B takes Poison Damage: "+bpoi);};

if (breg>0) {System.out.println("B regenerates: "+breg);};

System.out.println("");
System.out.print("A HP: "+ahp);
System.out.print(" ");
System.out.println("B HP: "+bhp);

System.out.print("A SKU: "+asku);
System.out.print(" ");
System.out.println("B SKU: "+bsku);

System.out.print("A ATK: "+aatk);
System.out.print(" ");
System.out.println("B ATK: "+batk);

System.out.print("A MAG: "+amag);
System.out.print(" ");
System.out.println("B MAG: "+bmag);

System.out.print("Wuerfel (A): "+c);
System.out.print(" ");
System.out.println("Wuerfel (B): "+d);

if (aclass == 6) {System.out.print("A's ammo = "+aammo);};
if (aclass == 6||bclass == 6) {System.out.print(" ");};
if (bclass == 6) {System.out.print("B's ammo = "+bammo);};

{System.out.println("");};
{System.out.println("");};

//Timers
ai = ai + 1;
bi = bi + 1;

aireg = aireg + 1;
bireg = bireg + 1;

a = a+1;

if(ahp < 1) {a=9991; System.out.println("You died!");};
if(bhp < 1) {a=9991; System.out.println("CPU died!");};

System.out.println("");
System.out.println("________________________________________________________________________________");
System.out.println("");
}

}
}
//Besser wäre adam//bdam = schaden den a bzw b nimmt weil man den besser abziehen kann

Deck List

Amulet
Card Cost Quantity
Blood MoonAmulet - Tempest of the Gods
Unevolved
Countdown (4)
Vengeance is active for you even when your leader's defense is more than 10.
3 x 3