Commit 7c45e22a by BellCodeEditor

save project

parent adb7028f
Showing with 11 additions and 0 deletions
...@@ -53,4 +53,14 @@ print('战斗开始') ...@@ -53,4 +53,14 @@ print('战斗开始')
while True: while True:
print("-"*30) print("-"*30)
choice = input("请选择释放英雄技能 (1攻击2防御)") choice = input("请选择释放英雄技能 (1攻击2防御)")
if choice =="1":
houyi.cure()
else:
print("请输入1或2")
continue
num = random.randint(1,3)
it mum == 1:
yase.cure()
else:
\ No newline at end of file
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