public int modifyMaxHP(int amount) {
        this.maxHp = Math.max(0, this.maxHp + amount);

        if (this.hp > this.maxHp) {
            this.hp = this.maxHp;