Commit 8a8a7650 by BellCodeEditor

save project

parent d09dbd40
def cure(self)
def cure(self)
self.hp=self.hp + 60
if self.hp > self.max_hp:
self.hp = self.max_hp
print(self.name+"使用了治疗术,血量增加:",60",目前血量为",self.hp)
print(30*'-')
print(' 战斗开始')
while true:
print()
choice = input()
if choice =="q":
print()
break
elif choice =="1":
houyi.combat(yase)
elif choice == "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