Commit d79b6c39 by BellCodeEditor

auto save

parent 9139f1a2
Showing with 8 additions and 0 deletions
import random
def cure(self):
a=random.randint(30,50)
self.hp=self.hp+a
if self.hp>self.max_hp:
self.hp=self.max_hp
print("你增加了",a)
\ 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