MV Plugin to change defense?

So sorry for posting too much, but i'm looking for a plugin that changes the way defense works. instead of however it works now, i want it to decrease damage taken by 1 for every 4 points you have. It's necessary for me to balance the game right. Is there a plugin that does this?
You don't need a plugin for that. You just need to adjust the damage formulas of your Skills.
Do you mean base damage (before elemental/critical/guard modifiers are applied) or final damage? Only damage from battle actions or also things like a negative HRG traits, floor damage or event commands?

If you need to change the base damage, you could of course just use the damage formula:
(original formula) - Math.floor(b.def / 4)

If you want to change an actions final damage, you could use something like Yanflys Skill Core plugin (for lunatic mode note tags)
To reduce the final damage, you could add something like this to the notebox of all skills you want defense to apply to:
<Pre-Damage Eval>
value = Math.max(value - Math.floor(b.def / 4), 0);
</Pre-Damage Eval>
Do you mean base damage (before elemental/critical/guard modifiers are applied) or final damage? Only damage from battle actions or also things like a negative HRG traits, floor damage or event commands?

If you need to change the base damage, you could of course just use the damage formula:
(original formula) - Math.floor(b.def / 4)

If you want to change an actions final damage, you could use something like Yanflys Skill Core plugin (for lunatic mode note tags)
To reduce the final damage, you could add something like this to the notebox of all skills you want defense to apply to:
<Pre-Damage Eval>
value = Math.max(value - Math.floor(b.def / 4), 0);
</Pre-Damage Eval>
This worked! (I think) Thanks!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-change-defense.133614/