Commit 044e3ee4 by BellCodeEditor

auto save

parent dc02b1cf
Showing with 34 additions and 5 deletions
...@@ -68,7 +68,36 @@ while True: ...@@ -68,7 +68,36 @@ while True:
yase.combat(houyi) yase.combat(houyi)
def cure(self): # def cure(self):
self.hp = self.hp + 60 # self.hp = self.hp + 60
if self.hp > self.max_hp: # if self.hp > self.max_hp:
self.hp = self.max_hp # self.hp = self.max_hp
\ No newline at end of file
# print('-' + 30)
# print(' 战斗开始')
# while True:
# print('-'*30)
# choice = input('幅度和天上人间发达国家')
# if choice == 'q':
# print('里面防盗门')
# break
# elif choice == 'l':
# houyi.combat(yase)
# elif choice == '2':
# houyi.cure()
# elif:
# print('西方国家结果')
# continue
# status = random.randint(1, 3)
# if status == 1:
# yase.cure()
# elif:
# yase.combat(houyi)
# def cure(self):
# biood + random.randint(10,50)
# self.hp = self.hp + blood
\ 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