mirror of
https://github.com/wownero/tippero.git
synced 2026-12-02 21:45:31 +01:00
dice: invert target too when playing over
I'm an idiot :/
This commit is contained in:
@@ -106,6 +106,8 @@ def Dice(nick,chan,cmd):
|
||||
return
|
||||
|
||||
target = (1 - config.dice_edge) / (1+multiplier)
|
||||
if not under:
|
||||
target = 1 - target
|
||||
log_info("Dice: %s's #%d roll: %.16g, target %s %.16g" % (nick, rolls, roll, "under" if under else "over", target))
|
||||
|
||||
lose_units = units
|
||||
|
||||
Reference in New Issue
Block a user