public String levelUpDisplay() {// don't use this in game this is to test
// the basic leveling implementation with an output
        int[] out = new int[5];
        this.level++;
        out[0] = (int) (this.nextExp * 1.1 - this.nextExp);
        this.nextExp *= 1.1;

        int total = 0;
        while (total == 0) {

            if (Math.random() > 0.5) {
                this.maxHP += 3;
                this.curHP += 3;
                total++;
                out[1] += 3;
                if (Math.random() > 0.8) {
                    this.maxHP += 2;
                    this.curHP += 2;
                    out[1] += 2;
                }
            }
            // this.curHP = this.maxHP;

            if (Math.random() > 0.5) {
                this.strength++;
                total++;
                out[2]++;
                if (Math.random() > 0.8) {
                    this.strength++;
                    out[2]++;
                }

            }

            if (Math.random() > 0.5) {
                this.defense++;
                out[3]++;
                total++;
                if (Math.random() > 0.8) {
                    this.defense++;
                    out[3]++;
                }
            }

            if (Math.random() > 0.8) {
                this.agility++;
                total++;
                out[4]++;
            }
        }

        return Arrays.toString(out);
    }