Anyway of making defense and magic defense work without being a parameter? I don't want defenses to be a stat, but instead more of a rating. Everyone would have 0 defense and magic defense and it would only increase based on your equipment. I know I could just keep the parameter at zero, but I would like to open those parameters for other uses.
Independent Defense Stat?
RPG Maker MV SupportIf you wanted to use the parameters for other things, it would require code changes. Honestly I would just keep the parameter at 0 and add your other uses with code. It's code either way, might as well take the path of least resistance.
If you really, really want to remove def and mdef as parameters, you'd have to replace all of the calculations that reference them to not take parameter values into account.
If you really, really want to remove def and mdef as parameters, you'd have to replace all of the calculations that reference them to not take parameter values into account.
Nothing prevents you from using the parameters for other uses - contrary to @Trihan 's answer, that will require zero code changes in the engine.
ATK, DEF, MAT and MDF have exactly zero use inside the javascript code - the only place where they are used is the damage formula of skills and items. If you don't want MDF to protect an actor from magic damage, then simply don't make any skills that have it as part of the damage formula.
Additionally, there are already existing parameters for percentual magic defence - it's called magical damage rating (or physical damage rating). I don't know if SP or EX parameters, you'll have to look up the program's help for better explanations
ATK, DEF, MAT and MDF have exactly zero use inside the javascript code - the only place where they are used is the damage formula of skills and items. If you don't want MDF to protect an actor from magic damage, then simply don't make any skills that have it as part of the damage formula.
Additionally, there are already existing parameters for percentual magic defence - it's called magical damage rating (or physical damage rating). I don't know if SP or EX parameters, you'll have to look up the program's help for better explanations
@Andar Oh, I thought they had hardcoded references in the js as well. I was actually originally going to say all you have to do is edit the damage formulas but I thought that was wrong. That'll teach me to second-guess myself!
AGI and LUK have hard-coded references (to speed and state probability), but the first four parameters do not.
@Trihan, ATK, DEF, MAT, and MDF have no use outside of being used for calculations, as far as I'm aware.
@Andar, that percentage sounds cool, but is there a way to make them not be percentage and increase based on armor? I would like to have a Sprit stat that'll be used for support type magic. This way, a mage capable of offensive and support magic won't have the same power for both, a fire spell and a heal spell. This is partially why I want the defenses to be more of a rating that armor will boost.
Also, as an added bonus, if it can be done for attack as well, that'd be great. I feel more comfortable working with formulas that split strength and attack rating, since I can use the weapon as a multiple(power rating), rather than an additive.
@Andar, that percentage sounds cool, but is there a way to make them not be percentage and increase based on armor? I would like to have a Sprit stat that'll be used for support type magic. This way, a mage capable of offensive and support magic won't have the same power for both, a fire spell and a heal spell. This is partially why I want the defenses to be more of a rating that armor will boost.
Also, as an added bonus, if it can be done for attack as well, that'd be great. I feel more comfortable working with formulas that split strength and attack rating, since I can use the weapon as a multiple(power rating), rather than an additive.
Original thread: https://forums.rpgmakerweb.com/threads/independent-defense-stat.75015/