Commit 663db21e by BellCodeEditor

save project

parent 1f0615f0
Showing with 6 additions and 4 deletions
...@@ -43,10 +43,11 @@ print('_' * 30) ...@@ -43,10 +43,11 @@ print('_' * 30)
print(' 战斗开始') print(' 战斗开始')
while True: while True:
print('_' * 30) print('_' * 30)
if input("请选择释放技能(攻击1/治疗2)") == 1: if input("请选择释放技能(攻击1/治疗2)") == '1':
houyi.combat(yase) houyi.combat(yase)
else else:
houyi.cure() houyi.cure()
if round(1,2) == 1: if random.randint(1,2) == '1':
yase.comba(houyi) yase.combat(houyi)
else:
yase.cure() yase.cure()
\ 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