@Override
    public void levelUp() {
        this.level++;
        this.nextExp += 5 * level;

        boolean points = false;

        while (!points) {

            if (Math.random() > .2) {
                points = true;
                this.maxHP += 5;
            }
            this.curHP = this.maxHP;

            if (Math.random() > .2) {
                points = true;
                this.strength++;
                if (Math.random() > .5) {
                    this.strength += 2;
                }
            }

            if (Math.random() > .2) {
                points = true;
                this.defense++;
                if (Math.random() > .5) {
                    this.defense += 2;
                }
            }

            if (Math.random() > .2) {
                points = true;
                this.agility++;
            }

        }

    }