Commit 09159174 by BellCodeEditor

save project

parent ed36e642
Showing with 10 additions and 9 deletions
#
class Hero:
def__init__(self):
self.level=999999999999999999999999999999999999999999999999999999999999999
class Hero(object):
def__init__(self,name):
self.max_hp=self.hp
self.level=1
self.name=name
self.hp=hp
self.attack=attack
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+4
self.hp=250
self.attack=400
def cure(self):
self.hp=self.hp+60
if self.hp>self
yase =Hero("亚瑟",3333333333333333333,-2000000)
print()
\ 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