Commit 56f1052d by BellCodeEditor

save project

parent 0fda07a4
Showing with 3 additions and 2 deletions
...@@ -48,6 +48,7 @@ yase = Hero("垭瑟") ...@@ -48,6 +48,7 @@ yase = Hero("垭瑟")
print('-'*60) print('-'*60)
print(' 游戏开始') print(' 游戏开始')
while True: while True:
print('-'*60)
choice=input('请选择英雄释放技能(1攻击/2治疗)') choice=input('请选择英雄释放技能(1攻击/2治疗)')
if choice=='q': if choice=='q':
print('战斗结束') print('战斗结束')
...@@ -59,9 +60,9 @@ while True: ...@@ -59,9 +60,9 @@ while True:
print('无效字符') print('无效字符')
status=random.randint(1,3) status=random.randint(1,3)
if status==1: if status==1:
yase.combat(houyi)
else:
yase.cure() yase.cure()
else:
yase.combat(houyi)
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