Hi hi hello, find below the relevant plugins and a brief overview of what im trying to achieve.
www.yanfly.moe
www.yanfly.moe
So essentially im trying to set the counter chance of an enemy (CNT) before a skill goes off based on a formula of the target and attackers luck (LUK) which i'll refer to as skill. Essentially so the more "skilled" the target is than their opponent the more likely they'll be to counter the attack. But i cant just use ex param formulas or CNT will just get too damn high
Im trying to use yanfly skill core to set the targets CNT before the skill goes off then reset it back to 0 after the skill is evaluated.
Easy enough with this part of the plugin.
however im having trouble with creating a code that can set specifically the targets counter rate and reference both the user and targets LUK in a formula. So essentially im asking for a coding lesson from you wizards 🙂. And to know if its even possible to set an enemies ex params with js mid battle.
Oh and find the formula im gonna use below for those who are interested 😛
Thank you very much any help is appreciated. I genuinely think this could be used in so many ways for the more obscure parameters
Skill Core (YEP) - Yanfly.moe Wiki
Extra Parameter Formula (YEP) - Yanfly.moe Wiki
So essentially im trying to set the counter chance of an enemy (CNT) before a skill goes off based on a formula of the target and attackers luck (LUK) which i'll refer to as skill. Essentially so the more "skilled" the target is than their opponent the more likely they'll be to counter the attack. But i cant just use ex param formulas or CNT will just get too damn high
Im trying to use yanfly skill core to set the targets CNT before the skill goes off then reset it back to 0 after the skill is evaluated.
Easy enough with this part of the plugin.
however im having trouble with creating a code that can set specifically the targets counter rate and reference both the user and targets LUK in a formula. So essentially im asking for a coding lesson from you wizards 🙂. And to know if its even possible to set an enemies ex params with js mid battle.
Oh and find the formula im gonna use below for those who are interested 😛
Thank you very much any help is appreciated. I genuinely think this could be used in so many ways for the more obscure parameters