Commit d624b9d6 by BellCodeEditor

auto save

parent 852d1f36
Showing with 7 additions and 2 deletions
import random
import random
class Hero(object):
def __init__(self, name):
self.name = name
......@@ -53,10 +53,15 @@ while True:
elif choice=="1":
houyi.combat(yase)
elif choice=="2":
houyi.cure()
houyi.cure()1
else:
print("请重新输入1或者2")
continue
random. randint(1,3)
if num == "1":
yase.cure()
else:
yase.combat(houyi)
......
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