Commit 7e156548 by BellCodeEditor

save project

parent d05b8a4e
Showing with 17 additions and 6 deletions
...@@ -42,10 +42,21 @@ print('-'*30) ...@@ -42,10 +42,21 @@ print('-'*30)
print(' 战斗开始') print(' 战斗开始')
while True: while True:
print('-'*30) print('-'*30)
stastu=random.randint(1,2)
print('请选择技能释放(1攻击/2治疗)')
if stastu==1:
yase.cure()
else:
yase.combat('后羿')
stastu==print('请选择技能释放(1攻击/2治疗)')
if stastu==q:
print('游戏结束')
break
elif stastu==1:
yase.cure(yase)
elif stastu==2:
yase.combat(houyi)
else:
print('请重新输入')
continue
a=random.randint(1,2)
if a==1:
yase.cure()
elif a==2:
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