Hi everyone. I'm changing base stats and would like to change 'magic defense' to critical damage or critical chance. It's possible? i use rpg maker mv
Change stats
RPG Maker MV Supportyes and no
by itself, magic defense has absolutely no function at all. it is only used in the damage formulae, and there it can be used in any form for which you have the mathematics.
However, there is already a different value in the engine that has the critical chance as a function. And if you want to replace that parameter, then you'll need a plugin because that critical chance parameter is not supposed to be changing in any way.
by itself, magic defense has absolutely no function at all. it is only used in the damage formulae, and there it can be used in any form for which you have the mathematics.
However, there is already a different value in the engine that has the critical chance as a function. And if you want to replace that parameter, then you'll need a plugin because that critical chance parameter is not supposed to be changing in any way.
Yah that's what I'm doing as well.
I repurposed Guard Rate into Critical Damage rate.
Are you using plugins? You'd need some to achieve so. If you have access to Yanfly's library I know a way!
I repurposed Guard Rate into Critical Damage rate.
Are you using plugins? You'd need some to achieve so. If you have access to Yanfly's library I know a way!
Yes! I have all yanfly plugins
@mike_312 So you need YEP Critical Control.
In the critical multiplier section change the bonus to an ex or sp parameter that you won't be using.
For me that's 'user.grd' for guard rate. You need to use one of the parameters that is a percentage.
Now just set that rate as a trait. So 300% guard rate on an item will make my crits do 300% damage.
In the critical multiplier section change the bonus to an ex or sp parameter that you won't be using.
For me that's 'user.grd' for guard rate. You need to use one of the parameters that is a percentage.
Now just set that rate as a trait. So 300% guard rate on an item will make my crits do 300% damage.
in my case then I would have to put user.mdef (since it is the stat that I want to exchange) right?
Well for critical damage it's usually a percentage. So you'd want to use an ex or sp parameter that is a percentage rather than something like MDF where it's a flat value. Though, you could use it for the bonus critical damage as a flat bonus.
Did you remove the Guard command entirely then?
For my personal project. Yah. But the rate can be any ex/so parameter that you aren't using.
Such as tp charge rate, floor damage rate, pharmacology, whatever really you want to use that you won't use elsewhere.
You just need to be careful when repurposing these that you have actually removed every hardcoded place in the code that references them, otherwise you'll end up with some janky numbers.
Original thread: https://forums.rpgmakerweb.com/threads/change-stats.151878/