So I'm working on a game and one of my ideas for a mechanic is called "Attack Flavor."
Basically, to spice up how attacking works, attacking will open up Yanfly's Input Combo window, and four options will be available.
A regular attack.
A power booster, which incrementally boosts attack power but lowers accuracy in return.
An evasion booster, which will increase evasion to a maximum 80%.
And an accuracy and defense booster, which when used three times will act as a guard button (negating the need for an actual guard button).
So what I want to know is how can I make an attack apply these different states based on the number of times it is used?
For example:
When the power booster is used once, I want to multiply ATK by 125%, but decrease hit rate by 10% (9/10 chance to hit).
Then, when used twice, it will multiply ATK by 155%, but decrease hit rate by 33% (2/3 chance to hit).
Then, when used thrice, it will multiply ATK by 200% (x2 damage!) and increase critical rate by 20% (1/5 chance to crit), but will decrease the hit rate by 80% (1/5 chance to hit, therefore 1/25 or 4% chance to hit and crit).