src/scripts/Mob.js
//override to adjust the mobs attributes to player level
override to adjust the mobs attributes to player level
override to adjust the mobs attributes to player level
scaleLevel(lvl) { 
        let x = Math.max(this.level_min,_.random(lvl-3,lvl+3));
        x=x-this.level;   
        if(x>0) {
            this.levelUp(1);
            this.autoLeveling();
        }
        this.Stats.increment("health",99999); this.Stats.increment("energy",99999);this.Stats.increment("will",99999);
    }
scaleLevel ( lvl ) { let x = Math . max ( this . level_min , _ . random ( lvl - 3 , lvl + 3 ) ) ; x = x - this . level ; if ( x > 0 ) { this . levelUp ( 1 ) ; this . autoLeveling ( ) ; } this . Stats . increment ( "health" , 99999 ) ; this . Stats . increment ( "energy" , 99999 ) ; this . Stats . increment ( "will" , 99999 ) ; }
override to adjust the mobs attributes to player level
override to adjust the mobs attributes to player level
//refill gained stats 