MZ Damage Popup Size/Font Size

Hi there!

I am trying to solve my problem of being unable to increase the size of the digits in my damage popups. I am using Visustella's Battle Core, which does not supply any such way to alter damage popups.

I was easily able to change the outline width in rmmz_sprites, but no matter what I do to the font size code in the same script, no change is reflected in game.

Line 1997 in rmmz_sprites seems like it would allow the possibility:
Sprite_Damage.prototype.fontSize = function() {
return $gameSystem.mainFontSize() + 4;
};
I have tried to change the "+4" to a number of digits, 8, 12, 24, but no matter what, the damage popup remains the same. Thanks in advance for the help!! 😮‍💨

EDIT: To my knowledge, it is considered bad practice to alter the source RPGMaker code, correct?
...Solved my own problem!! Turns out the great plugin Cae_OnUseEffects by @caethyril allows one to set total font size for all battle popups.

Hopefully this helps someone else looking for similar solutions!
Oh, I forgot my plugin had that option!

Your core script edit sounds like it should have had the intended effect. If it didn't, then I guess one of your current plugins (VisuStella?) already has an override for the popup size.

For simple overrides like this you can make the "edit" by copying the edited part(s) into a new .js file, add a short header (@target MZ suppresses Plugin Manager warnings), and import as a plugin, e.g.
JavaScript:
/*:
 * @target MZ
 * @plugindesc Custom popup font size!
 * @help Free to use and/or modify for any project, no credit required.
 */
// Override!
Sprite_Damage.prototype.fontSize = function() {
  return $gameSystem.mainFontSize() + 4;  // <- edit this line
};
A plugin is easier to handle than a direct edit: plugins can easily be switched on/off (e.g. for testing), copied to another project, and tracked/accredited. A plugin also won't be lost if/when you update your project's core scripts. 👋
Oh, I forgot my plugin had that option!

Your core script edit sounds like it should have had the intended effect. If it didn't, then I guess one of your current plugins (VisuStella?) already has an override for the popup size.

For simple overrides like this you can make the "edit" by copying the edited part(s) into a new .js file, add a short header (@target MZ suppresses Plugin Manager warnings), and import as a plugin, e.g.
JavaScript:
/*:
 * @target MZ
 * @plugindesc Custom popup font size!
 * @help Free to use and/or modify for any project, no credit required.
 */
// Override!
Sprite_Damage.prototype.fontSize = function() {
  return $gameSystem.mainFontSize() + 4;  // <- edit this line
};
A plugin is easier to handle than a direct edit: plugins can easily be switched on/off (e.g. for testing), copied to another project, and tracked/accredited. A plugin also won't be lost if/when you update your project's core scripts. 👋
You're the best!

Original thread: https://forums.rpgmakerweb.com/threads/damage-popup-size-font-size.151412/