Commit e1ca825b by BellCodeEditor

save project

parent 073770fb
Showing with 7 additions and 2 deletions
......@@ -2,4 +2,9 @@ def cure(self): # 治疗
self.hp+=55
if self.hp > self.max_hp:
self.hp = self.max_hp
print(self.name + "使用了治疗,血量增加:",60,",目前的血量为:",self.hp)
\ No newline at end of file
print(self.name + "使用了治疗,血量增加:",60,",目前的血量为:",self.hp)
houyi = player("射手""后羿")
yase = hero("亚瑟")
print(30 * '-')
print(' 战斗开始')
\ 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