Fix do_data_input_int

This commit is contained in:
Anna Rose 2013-05-05 14:57:23 -04:00
parent 52fde623ef
commit 79a7d0e311
2 changed files with 2 additions and 4 deletions

View File

@ -577,9 +577,7 @@ class Combatant():
print "{} doesn't have a second wind.".format(self)
return
self.surges -= 1
self.sw -= 1
print '{} got their second wind!'.format(self)
# Now the actual effects of the SW

View File

@ -32,5 +32,5 @@ def do_data_input_str(data, index, prompt, default=None, show_default=False, pro
return input_str(prompt, default, show_default, prompt_str)
def do_data_input_int(battle, data, index, prompt, default=None, show_default=True, prompt_str=':'):
return int(do_data_select_str(battle, data, index, prompt, default, show_default, prompt_str))
def do_data_input_int(data, index, prompt, default=None, show_default=True, prompt_str=':'):
return int(do_data_input_str(data, index, prompt, default, show_default, prompt_str))