MV Limit Battle Log to 3 Lines

Try as I might, I can't seem to get the Battle Log to limit to showing maximum of 3 lines of text.
When someone casts something that effects 3 or more enemies, I get 4+ lines of text appearing in the BattleLog.

I've even got a plugin, at the bottom of my plugin list with:

Code:
Window_BattleLog.prototype.maxLines = function() {
    return 3;
};

and still no change... Surely this should overwrite the core function...
Anyone got any tips?
You are correct, this should overwrite the core function. However (at least in the core engine) this function seems to be only called to calculate the height of the battlelog window.

As you can see in the refresh function every line in this._lines will be drawn, regardless of what maxLines has to say about that.

The actual maximum number of lines drawn seems to depend on this._baseLineStack somehow? I don't currently have time to look further into this. Hopefully this helps?
Thank you for looking. It's a little beyond my JS skills. I wonder if any plugin devs has edited this before...
Bump... Still looking for help on this, anyone got any ideas?

Original thread: https://forums.rpgmakerweb.com/threads/limit-battle-log-to-3-lines.143885/