Commit d4146244 by BellCodeEditor

save project

parent 237e3fc2
Showing with 8 additions and 0 deletions
...@@ -3,3 +3,11 @@ def cure(self) ...@@ -3,3 +3,11 @@ def cure(self)
if self.hp > self.max_hp if self.hp > self.max_hp
self.hp = self.max_hp self.hp = self.max_hp
print(self.name+"使用了治疗血量增加:",60,",目前血量为:",self.hp) print(self.name+"使用了治疗血量增加:",60,",目前血量为:",self.hp)
horyi = Player("射手""后羿")
yase = Hour("亚瑟")
print(30 * '-')
print(" 战斗开始")
while True:
print("-" * 30 )
choice = input("请选择释放英雄技能(1攻击\2治疗):")
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