PacificPoker: Change raise function

In the sample hand history

player04 bets [1]
Hero raises [2]
player05 raises [3]

Hero raises 1 to 2
player05 raises 1 to 3
This commit is contained in:
Worros 2011-03-22 15:11:08 +08:00
parent 32bb2c013e
commit 94dc683281

View File

@ -412,7 +412,7 @@ class PacificPoker(HandHistoryConverter):
acts = action.groupdict() acts = action.groupdict()
#print "DEBUG: acts: %s" %acts #print "DEBUG: acts: %s" %acts
if action.group('ATYPE') == ' raises': if action.group('ATYPE') == ' raises':
hand.addRaiseBy( street, action.group('PNAME'), action.group('BET').replace(',','') ) hand.addRaiseTo( street, action.group('PNAME'), action.group('BET').replace(',','') )
elif action.group('ATYPE') == ' calls': elif action.group('ATYPE') == ' calls':
hand.addCall( street, action.group('PNAME'), action.group('BET').replace(',','') ) hand.addCall( street, action.group('PNAME'), action.group('BET').replace(',','') )
elif action.group('ATYPE') == ' bets': elif action.group('ATYPE') == ' bets':