Yanfly - Extra Parameter Formula

Hello Everybody,

I'm trying to make a formula where the matk influences the Crit Rate.

Something like that:

(base + plus) * rate + flat + (user.matk / 1000)

The matk in this case is very low, to be specific 8. What i want is that 1 Point in matk add 1% of Crit Rate.

Can i go for something like:

(base + matk) ??
If you want a 1 to 1 ratio, then something like so:
(base + plus) * rate + flat + (user.mat)
Hi,
i used that Formula but for some Reason it does not work.
Even if the matk is 999 there are still no crits.
​
I tried it with a completely new Project but it still doesnt work.
Anyone got any ideas why that is?
By matk do you mean Magic Attack?
The way to access Magic Attack in the damage formula, for example, is a.mat (look at the basic Fire skill as an example)

I don't know the plugin you're talking about (maybe give a link next time) but you should be able to access that property using .mat

https://kinoar.github.io/rmmv-doc-web/classes/game_actor.html#mat
@Wasser J. Hans - i had an extra K in there, try the one I posted originally, I edited it with the correct coding.
To double check, make sure your yanfly plugins are all up to date and that the dependencies are also in your project.
Hi again,
many thanks to both of you. It works now. 😀

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-extra-parameter-formula.104216/