Commit 21243050 by BellCodeEditor

save project

parent a026d8c9
Showing with 4 additions and 0 deletions
......@@ -46,3 +46,6 @@ houyi.cure()
yase.cure()
if choice == "q"
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