Is there any way to show states damage in the battle log?


It seems the damage is displayed only by damages poups.
​
Hmmm, if you're using Yanfly stuff, I guess you could add state notetags (change the damage formula depending on state):

<Custom Regenerate Effect>
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");
</Custom Regenerate Effect>

There might be something simpler to achieve this, I'm not an expert on that battle log stuff.

EDIT: Oh yeah, might wanna wrap that in a conditional: $gameParty.inBattle()

Original thread: https://forums.rpgmakerweb.com/threads/is-there-any-way-to-show-states-damage-in-the-battle-log.180361/