Commit d637e3f4 by BellCodeEditor

save project

parent 067842b6
Showing with 6 additions and 0 deletions
...@@ -34,3 +34,8 @@ class Player(Hero): ...@@ -34,3 +34,8 @@ class Player(Hero):
print("当前等级, 血量,攻击力分别为",self.level,self.attack) print("当前等级, 血量,攻击力分别为",self.level,self.attack)
houyi=Player("后羿","射手") houyi=Player("后羿","射手")
yase=Hero("亚瑟") 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