bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Oddity in luck strings in the code


From: Jonathan Kinsey
Subject: [Bug-gnubg] Oddity in luck strings in the code
Date: Wed, 25 Jun 2008 21:10:00 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0

There are these 7 strings defined in aszLuckRating (roughly):
"Haaa-haaa, Go to bed, Better luck next time, None, Good dice!, Go to Las Vegas, Cheater!" Strangely getLuckRating() returns 6 numbers (not 7), so there's 3 bad strings and 2 good ones displayed ("None" makes 6).

So I guess either the worst (<-.1) should be removed or the last one added for >.1 equities?


It also strikes me as a bit odd that the thresholds for these strings are .02 and .06, and the defaults for lucky rolls are .3 and .6 - are these two sets of numbers related?

Jon

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]