Commit 21243050 by BellCodeEditor

save project

parent a026d8c9
Showing with 5 additions and 2 deletions
......@@ -45,4 +45,7 @@ yase.combat(houyi)
houyi.cure()
yase.cure()
if choice == "q"
print("游戏结束")
\ No newline at end of file
print("游戏结束")
def cure(self):
blood = random.randint(30,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