HIME's enemy Class script: Level scaling formula

Hi, I just downloaded Enemy Levels by Himes and I wanna know how to do a level scale where certain bosses are 2 levels above a select character in the party and the normal ones are the same level of the highest level character in the party (Unless that highest level character is level 20 or so).

How can I make a formula based on that?

This is the script btw: http://himeworks.com/2015/11/enemy-levels-mv/
Probably like this.

$gameTroop.members()[1].setLevel( $gameActors.actor(actorId).level + 2 )In the battle screen itself, just use a plugin command.  the 1 in $gameTroop.members()[1] is the 2nd enemy placed on the screen.  0 would be the first, so 0, 1, 2, 3, etc.  just choose your boss and boom there you go.  their level will always be two levels above the players.

assuming that works, which I'm 90% reasonably sure it will.  hope that helps!

Original thread: https://forums.rpgmakerweb.com/threads/himes-enemy-class-script-level-scaling-formula.54597/