is there a way to set formula for block?

currently i have some variables like bicep/core abs/quadriceps, and bicep/quadriceps are the one affecting the attack power of skill, core/abs are affecting the amount of damage can be blocked.
for attack, i know u can add in variable in fomula, like: a.atk * 2.5 - b.def * 2 + ($gameVariables.value(325) * 5).
but for block, is it just a stats? is there any place i can insert formula so the amount of block can be determined by variables?
thx~
it is unclear what you mean by "block". do you mean "guard effect"?
outside of the damage formula, the only things that reduce damage would things like "element rate", "physical/magical damage", and "guard effect" while guarding. if you need the abs variable to reduce damage dealt, your formulas have to use it to do that
If you mean block with a shield, there's no such thing in MZ. You would have to be adding it with a plugin, and that plugin should allow you to customize any formulae.
If by 'block' you mean defense, the formula `b.def` refers to the defender, including characters. So a formula like
`b.def + v[4]`
would add the value of the variable with ID 4 to the defender's defense.
As you've noticed, you can also reference variables with:
`v[IdVariable]`

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-set-formula-for-block.172443/