Talk:Damaging floor
From DoomWiki.org
FYI: The code for 20% damage reads "P_Random()<5" but the actual chance of this being true is 6/256 rather than 5/256. This is because the random number table has two 0's, no 1's, two 2's, one 3, and one 4 for a total of six values less than 5. radius 02:46, 7 Mar 2005 (GMT)