Talk:Hit Chance: Difference between revisions
From A KoL Wiki
imported>Markm m reverting spam |
imported>Poochy No edit summary |
||
Line 1: | Line 1: | ||
Some experience fighting tough monsters tells me that the hit and critical rolls are both the same roll, i.e. the algorithm is, in pseudocode: | |||
roll for fumble | |||
if no fumble: | |||
{ | |||
generate random [[Wikipedia:Double precision|double]] | |||
if roll > hit% then miss | |||
else if roll < critical% then critical hit | |||
else "normal" hit | |||
} | |||
Basically, critical hits are a fixed percentage of all non-fumble attack attempts, not a percentage of hits. I'll edit this into the article, please correct me if I'm proven wrong. --[[User:Poochy|Poochy]] 05:03, 26 December 2006 (CST) |
Revision as of 11:03, 26 December 2006
Some experience fighting tough monsters tells me that the hit and critical rolls are both the same roll, i.e. the algorithm is, in pseudocode:
roll for fumble if no fumble: { generate random double if roll > hit% then miss else if roll < critical% then critical hit else "normal" hit }
Basically, critical hits are a fixed percentage of all non-fumble attack attempts, not a percentage of hits. I'll edit this into the article, please correct me if I'm proven wrong. --Poochy 05:03, 26 December 2006 (CST)