Commit 550106ff by BellCodeEditor

auto save

parent d97eb077
Showing with 2 additions and 21 deletions
......@@ -49,28 +49,9 @@ houyi = Player("射手", "后羿")
yase = Hero("垭瑟")
print('_'*30)
print(' 游戏开始')
while Ture:
white Ture:
print('_'*30)
choice=input('请选择技能(1攻击/2回血)')
if choice==q:
print('游戏结束')
beak
elif choice=='1':
houyi.combat(yase)
elif choice=='2':
houyi.cure()
else:
print('请重新选择技能(1攻击/2回血)')
continue
status=random.randint(1,3)
if status==1:
yase.cure()
else:
yase.combat(houyi)
choice=input('请选择继能(1攻击/2回血)')
......
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