I wold like to know couple of things about how Critical Strike works

Pastramka·1/30/2015, 12:07:22 AM·10 votes·1,412 views

I just watched this and I started asking myself about Critical Chance in LoL and its random number generator (RNG): What does League uses to generate a random number for the critical chance? Does it use the most simple equation and instead of random gets back a nice pattern/sequence of numbers ?

Does the equation has safeguards? if u have 50% Critical chance and the RNG gave back less than 50 on all of your last(lets say) 10 strikes - does it say "next one must be A critical strike"? or just if u are unlucky u can do 30 AA and none will critically strike?

Runes get u a chance with a decimal - like +0.93%: Are they rounding up? I mean Is 16.4% as same as 15.6% (think they both round up on 16)?

I read that a random number is generated before each strike: Is there? Or the game is calculating in advance for the next strikes (for example for the next 50 AA)?

I would appreciate if Reds gave some answers on this, or "under the hood" stuff is a company secret? By the way are there any well known reds that work just as a programmers at Riot?

15 Comments

ImHerVoice1/30/2015, 1:32:08 AM3 votes

its not rng its prng Every non crit hit increases chance for next crit hit with PRNG RNG is completely luck based. PRNG favors crits more often. it was changed in season 1. Should be removed imo.

Narsicus1/30/2015, 2:56:43 PM3 votes

Riot has stated that their crit system uses a modified rng, although they have not released the exact equation.

It basically works to smooth out your crits so that the more you fail to crit your chance increaces but securing a crit reduces it so that the overall number of critical hits should be as close to your crit chance as possible.

This way you are less likely to have hot streaks of multiple crits in a row, as well as cold streaks where you go attack after attack and fall short every time.

This can be abused slightly to predict when you are going to get a crit, it you have 25% crit chance and do not score a critical hit after 4-5 hits or so the next strike is going to have a rather high chance to crit. This way if you are Ganplank or Tryn you can watch yourself for streaks of misses so that you can strike at the opponent with a greater likelihood of a critical strike.

That's the side effect for making it less luck based though.

SlackerboyTC1/30/2015, 3:39:18 PM3 votes

That waas a pretty interesting video, but onto riots "RNG" they use a system that basically says if you did not land a crit with your first AA the chance of landing a crit on your next AA is high and higher till it finally happens, it can't be completely random if it was calculated.

TheSlappySlap1/30/2015, 1:27:33 AM2 votes

Can't say for sure but I presume it's just a simple Random.Range(0,1.00);

This means that there is no safeguard and no truncating of the float.

I'd imagine this is calculated at the time of firing an AA. Not sure why it would make any difference.

TheKingDodo1/31/2015, 1:51:00 AM1 votes

Rito writes their own pseudo random number generator? wot? No sane person would bother...