Commit 04b8ba20 by BellCodeEditor

save project

parent ee17a8a8
Showing with 3 additions and 3 deletions
import random
class Hero(object): class Hero(object):
def __init__(self, name): def __init__(self, name):
self.name = name self.name = name
...@@ -56,10 +56,10 @@ while True: ...@@ -56,10 +56,10 @@ while True:
else: else:
print("无效字符") print("无效字符")
continue continue
num=rendom.randint(1,3) num=random.randint(1,3)
if num=="1": if num=="1":
yase.combat(houyi) yase.combat(houyi)
elif: else:
yase.cure() yase.cure()
......
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