float randValue = Random.value;
if (randValue < .90f) // 90% of the time
{
// Do Normal Attack
}
else // 10% of the time
{
// Do Normal Attack x 2
}
Actually my Critical Chance are 10% , But I don’t know how to increase Critical Chance.
For example, if i do a skill system, how could I raise 5% (so 15% total) my critical chance ? I don t know how to change variable, how creta logic system…
I guess it is simple for some of you, but i’m really noob…