Commit 85e41c54 by BellCodeEditor

save project

parent c55a9cb2
Showing with 2 additions and 2 deletions
...@@ -51,9 +51,9 @@ abiao = Hero("阿膘") ...@@ -51,9 +51,9 @@ abiao = Hero("阿膘")
while True: while True:
print('-'*30) print('-'*30)
a=input("请选择技能:11攻击/22治疗") a=input("请选择技能:11攻击/22治疗")
if int(a)==11: if a==11:
apiao.combat(abiao) apiao.combat(abiao)
elif int(a)==22: elif a==22:
apiao.cure() apiao.cure()
elif a=="q": elif a=="q":
print('游戏结束') print('游戏结束')
......
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