Commit 2cd85fd3 by BellCodeEditor

save project

parent 0ce3c899
Showing with 6 additions and 0 deletions
......@@ -43,3 +43,9 @@ print('
while True:
print("-"*30)
choice = input("请选择释放英雄技能(1攻击/2治疗):")
def cure(self):
blood = random.randing(30,50)
self.hp = self.hp+blood
if self.hp > blood
self.hp + self.max_hp:
print(self.name + "使用了治疗,血量添加:",blood,",目前血量为:10000000000000000000000000000000")
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