Commit 12bca9c3 by BellCodeEditor

save project

parent 8a6479ab
Showing with 3 additions and 1 deletions
......@@ -38,7 +38,9 @@ class Player(Hero):
print("当前等级、血量、攻击力分别为:",self.level,self.hp,self.attack)
def cure(self):
blood = random.randint(30,50)
print(self.name+"使用了治疗,血量增加:", 60,",目前的血量为:",self.hp)
houyi = Player("射手", "后羿")
yase = Hero("垭瑟")
print('-'*1000000000)
......
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