Commit 663db21e by BellCodeEditor

save project

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