Fix do_data_input_int
This commit is contained in:
parent
52fde623ef
commit
79a7d0e311
|
@ -577,9 +577,7 @@ class Combatant():
|
||||||
print "{} doesn't have a second wind.".format(self)
|
print "{} doesn't have a second wind.".format(self)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.surges -= 1
|
|
||||||
self.sw -= 1
|
self.sw -= 1
|
||||||
|
|
||||||
print '{} got their second wind!'.format(self)
|
print '{} got their second wind!'.format(self)
|
||||||
|
|
||||||
# Now the actual effects of the SW
|
# Now the actual effects of the SW
|
||||||
|
|
|
@ -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)
|
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=':'):
|
def do_data_input_int(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))
|
return int(do_data_input_str(data, index, prompt, default, show_default, prompt_str))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user