So I had this idea for a super powerful attack, if you hit then you would deal ordinary damage, but if you miss you would still be able to slow down the enemy, by debuffing them.
However I'm having problem implementing this in my game, I tried doing it on the damage formula, I got the if...