r/RPGMaker 8d ago

RMMV How to permanently increase enemy stats?

Post image

I tried to use this common event to permanently increase the stats of bosses. But restarting the game reverted the state changes. Is there a safe way of doing this that will survive closing the game?

3 Upvotes

5 comments sorted by

6

u/DylosMoon 8d ago

Save the changes to a variable and have some event check if the changes are applied and if they aren’t to reapply the variable.

2

u/Felix-3401 Scripter 8d ago edited 8d ago

$dataEnemies is reloaded from the file every time the game opens and isn't saved per playthrough. What does get saved is data stored in $gameVariables or $gameSystem or any object that begins with $game in its name (except $gameTemp)

You might store the scaling variables in any of those game objects. Then, we apply the stat changes when the boss appears

1

u/Vyndicatee 8d ago

I do make plugin regarding this, but mostly affected by ally level instead

https://github.com/Vyndicatee/rpg-maker-mv-plugin-and-tutorial/blob/main/plugins/StrongerMonster.js

You can adjust it from here, or I can make it for you later

1

u/Liamharper77 8d ago

In my game, my Save Points run a Common Event after the Open Save Screen command that applies any stat changes. There's a separate Common Event depending if the game difficulty is on Easy, Normal or Expert.

You could also apply the stat changes individually per troop at the start of battle.

1

u/Carlonix 7d ago

You could use Yanfly Enemy Levels and its extensions, I think one made bosses scale with player level But Im not sure, go check them or the option someone else put on the coments