Commit d637e3f4 by BellCodeEditor

save project

parent 067842b6
Showing with 7 additions and 2 deletions
......@@ -33,4 +33,9 @@ class Player(Hero):
print(selp.name+"创建成功")
print("当前等级, 血量,攻击力分别为",self.level,self.attack)
houyi=Player("后羿","射手")
yase=Hero("亚瑟")
\ No newline at end of file
yase=Hero("亚瑟")
print("----------------------")
print("战斗开始")
while True:
print("----------------------")
num=input("请输入数字 1.战斗/2.治疗")
\ 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