So as you can see from the title i want to know how t make a critical strike. Basically I have normal attack which is performed by pressing A.
And there would be 2 animations (one for normal attack and one for a critical).
Then lets say that my critical strike chance is 10%, so i want it to hit at 10% chance (lol).
How do I pull it off? I guess i will need a variable but how can I make it chose randomly?
Thanks in advance.