Commit cf23ceae by BellCodeEditor

save project

parent cbdc39a3
Showing with 7 additions and 1 deletions
import random
class Hero(object):
def __init__(self, name):
......@@ -58,3 +58,8 @@ while True:
houyi.cure()
else:
print("输错了,请重新输入:")
status = random.randint(1,3)
if status == 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