MZ Set variable to enemy level with VisuStella Enemy Levels plugin

I am using the VisuStella Enemy Levels plugin and am trying to find a way to set a variable to be equal to the level of the last targeted enemy. Any advice on what script would do is appreciated.
It's just 'level' property. Damage formula b.level, where user/target works, it's target.level

Then there's the script to get last target enemy index (updated after action effects):
$gameTroop.members()[$gameTemp.lastActionData(5)].level

Original thread: https://forums.rpgmakerweb.com/threads/set-variable-to-enemy-level-with-visustella-enemy-levels-plugin.176729/