I am trying to implement a "parry" mechanic in my game. Basically, enemies only use their power moves when they are in a "prepared" state, in that state and that state only the player can use "interrupt" to stun the enemy.
My first idea is to make interrupt only apply stun 1% of the time and make prepared state increase state rate of stun to *1000%, but that simply doesn't work, the chance for stun to be applied seems still 1%, I tried to change enemy state resistant instead and it still doesn't work.
So is there any way for me to increase state rate? Preferably by addition instead of multiplication that overwrites state resist.
Edit: 1% * 1000%=10% I suck at math. But still, is there a better way to do this other than make interrupt works 10% of the time?
My first idea is to make interrupt only apply stun 1% of the time and make prepared state increase state rate of stun to *1000%, but that simply doesn't work, the chance for stun to be applied seems still 1%, I tried to change enemy state resistant instead and it still doesn't work.
So is there any way for me to increase state rate? Preferably by addition instead of multiplication that overwrites state resist.
Edit: 1% * 1000%=10% I suck at math. But still, is there a better way to do this other than make interrupt works 10% of the time?