Commit f27effc4 by BellCodeEditor

save project

parent 10bd909f
Showing with 8 additions and 0 deletions
import random
def cure(self):
sb=random.randint(30,50)
self.hp=self.hp+sb
if self.hp>self.max_hp
self.hp=self.max_hp
print(self.name + "使用了治疗术,回复了"+str(sb)+"的血量")
\ 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