Commit 6bd91857 by BellCodeEditor

save project

parent 52bccbf9
Showing with 5 additions and 3 deletions
class Hero(object):
import random
class Hero():
def __init__(self, name):
self.name = name
self.level = 1
......@@ -53,8 +54,8 @@ while True:
else:
print("请输入1或2")
continue
status = randon.randiont(1,3)
if status == 1
status = random.randint(1,3)
if status == 1:
yase.cure()
else:
yase.combat(houyi)
\ 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