Talk:Lottery: Difference between revisions

m
imported>Nikel23
imported>Nikel23
Line 20:
|}
 
:Technically, if x is exactly 1.00, I believe you won't win any prize instead. The denominator is n, while the numerator is the prize's corresponding weighted chance, added by the preceding weighted chances and modified chances.
 
:If the Sim has Unlucky trait, the result is a bit different. The denominator n is equal to the sum of base weighted chances, as well as the modifiers (this is applied to other factors as well, but in this case, the Sim only has Unlucky trait); n = 30 + 25 + 15 + 10 + (-5) + 7 + (-10) + 7 + (-12.5) + 5.95 + (-15) + 0.05 + (-10) = 47.5. And then x is picked between 0 and 1 again, and the outcome would be like this:
{|class="wikitable heading-blue"
!50 !! 100 !! 500 !! 1,000
Line 39:
|}
 
:See, 55/47.5 is already greater than 1.00. Theoretically it's impossible to get past §100. And beyond §5,000 prize is logic error, so it's even more impossible. [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 06:37, March 30, 2014 (UTC)
 
::As a side note, it's more precise to call it weighted chance than percentage chance. That's because the denominator isn't always 100, hence the chances don't use %. [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 06:41, March 30, 2014 (UTC)
Anonymous user