Commit b8c716f3 by BellCodeEditor

save project

parent f19096ae
blood = random.randint(30,50)
blood = random.randint(30,50)
self.hp += blood
if self.hp > self.max_hp
self.hp = self.max_hp
print(self.name+"恢复了"+blood"点血量,当前血量为:"+self.hp)
\ No newline at end of file
++ "b/\346\260\224\346\255\273\344\272\272\344\272\206\350\277\231\344\270\252\345\212\240\350\275\275\357\274\214\344\270\211\346\254\241\351\203\275\346\262\241\345\212\240\350\275\275\345\207\272\346\235\245\357\274\214\351\235\236\350\246\201\345\234\250\346\234\200\345\220\216\345\212\240\350\275\275\345\207\272\346\235\245"
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