Hi all, I am new to RPG Maker community. Currently, I am using MV version.
I looking forward to modify how cc chance be calculated. Let's say a skill XYZ has 50% stun chance. If the user has 20% crowd control stat, this stun rate will increase by 20% => 50%*0.2 = 60% chance. On the other hand, if the target has 60% of resistance chance. Then the result will be 50*0.2/0.6 = 17%. But the chance never exceed 100%.
I am following an idea that use random number and check if it smaller the calculated rate or not then apply the cc to the target. But I have no idea where to get the value of skill's base control rate.
Could you please help me out with this question. I am really stuck with it for days. Lol...
Thank you a lot!
I can say I have a little experience in JavaScript but not much, and.
Currently, I am using ICF Soft plug in for extra parameters. I think he made it works well with scripting.
I looking forward to modify how cc chance be calculated. Let's say a skill XYZ has 50% stun chance. If the user has 20% crowd control stat, this stun rate will increase by 20% => 50%*0.2 = 60% chance. On the other hand, if the target has 60% of resistance chance. Then the result will be 50*0.2/0.6 = 17%. But the chance never exceed 100%.
I am following an idea that use random number and check if it smaller the calculated rate or not then apply the cc to the target. But I have no idea where to get the value of skill's base control rate.
Could you please help me out with this question. I am really stuck with it for days. Lol...
Thank you a lot!
I can say I have a little experience in JavaScript but not much, and.
Currently, I am using ICF Soft plug in for extra parameters. I think he made it works well with scripting.