Commit 7d1519f6 by BellCodeEditor

save project

parent 4bf0c885
Showing with 4 additions and 2 deletions
import random()
import random
class Hero(object):
def __init__(self, name):
self.level = 1
......@@ -20,6 +20,7 @@ class Hero(object):
else:
print("血量已满,加血无效!")
while True:
a=input("你要使用什么技能?(1回血/)")
a=input("你要使用什么技能?(1回血/2攻击)")
yase = Hero("垭瑟")
houyi= Hero("后羿")
\ 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