Commit 7f0c6658 by BellCodeEditor

save project

parent 669b2446
Showing with 8 additions and 1 deletions
......@@ -4,7 +4,8 @@ class Hero(object):
self.name = name
self.level = 1
self.hp = 250
self.attack = 40
self.attack = 401
self.max_hp = self.hp
def cure(self): # 治疗
......@@ -66,6 +67,11 @@ while True:
yase.cure()
else:
yase.combat(houyi)
while True:
print("-"*30)
choice = 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