Hello, heres the plugin in question for those who need it
www.yanfly.moe
So im having a relatively simple issue but really getting nowhere with it. The plugin allows you to edit formulas deciding the ExParams of actors and enemies. Im editing the counter parameter and trying to achieve something like
(base + plus) * rate + flat + (user.luk/enemy.luk) * 0.05
Essentially trying to have the counter chance change based on the relative difference between attacker and defenders luck. Problem is that i cant reference the attackers luck.
I've checked the formula works by just adding 1000 to the basic formula and thats all good. user.luk works just fine a.luk works as well. But target.luk, b.luk, attacker.luk and enemy.luk all dont work.
TLDR How do i reference an enemies luck in the context of this formula. Thank you very much for the help 🙂.
Extra Parameter Formula (YEP) - Yanfly.moe Wiki
So im having a relatively simple issue but really getting nowhere with it. The plugin allows you to edit formulas deciding the ExParams of actors and enemies. Im editing the counter parameter and trying to achieve something like
(base + plus) * rate + flat + (user.luk/enemy.luk) * 0.05
Essentially trying to have the counter chance change based on the relative difference between attacker and defenders luck. Problem is that i cant reference the attackers luck.
I've checked the formula works by just adding 1000 to the basic formula and thats all good. user.luk works just fine a.luk works as well. But target.luk, b.luk, attacker.luk and enemy.luk all dont work.
TLDR How do i reference an enemies luck in the context of this formula. Thank you very much for the help 🙂.