Commit c2b816df by BellCodeEditor

save project

parent 5f2d8561
Showing with 2 additions and 1 deletions
import random import random
class Hero(object): class Hero(object):
def __init__(self, name): def __init__(self, name):
self.name = name self.name = name
...@@ -57,7 +58,7 @@ while True: ...@@ -57,7 +58,7 @@ while True:
else: else:
print('无效字符') print('无效字符')
status=random.randint(1,3) status=random.randint(1,3)
if status=='1': if status==1:
yase.combat(houyi) yase.combat(houyi)
else: else:
yase.cure() yase.cure()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment