dice: invert target too when playing over

I'm an idiot :/
This commit is contained in:
moneromooo 2015-01-18 09:05:59 +00:00
parent e3eaff5fc1
commit 7a4506a9e6

View file

@ -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