MZ Visustella MZ BattleCore Poison Damage in Battle Log

Howdy folks,

Been scratching my head at this one for a while and can't seem to find any documentation on it.

My game uses the Visustella MZ BattleCore Battle Log feature and does not use damage number popups. The issue is that when enemies take poison damage, there is no indication that they're actually taking damage! Ideally whenever the enemies take damage from the poison state, the battle log would pop up with a message like "Enemy A takes 5 poison damage!" or something like that, but I can't seem to find anything relating to actually implementing this online.

Thoughts?
Hmmm put this in the state notetag (change the damage to your formula, if it can somehow vary, you can store the value in regenerateHp method, I think):

<JS Post-Regenerate>
const name = user.name();
const damage = Math.round(user.mhp*0.1);
const text = name + " " + "took" + " " + damage.toString() + " " + "damage";
BattleManager._logWindow.push("addText", text);
BattleManager._logWindow.push("wait");
BattleManager._logWindow.push("clear");
</JS Post-Regenerate>
Hmmm put this in the state notetag (change the damage to your formula, if it can somehow vary, you can store the value in regenerateHp method, I think):

<JS Post-Regenerate>
const name = user.name();
const damage = Math.round(user.mhp*0.1);
const text = name + " " + "took" + " " + damage.toString() + " " + "damage";
BattleManager._logWindow.push("addText", text);
BattleManager._logWindow.push("wait");
BattleManager._logWindow.push("clear");
</JS Post-Regenerate>

Works like a charm! Thank you!!!

Original thread: https://forums.rpgmakerweb.com/threads/visustella-mz-battlecore-poison-damage-in-battle-log.182615/