Commit 2e89736c by BellCodeEditor

auto save

parent b2671659
Showing with 21 additions and 10 deletions
class a: class a:
def __init__(self): def __init__(self,name,HP,等级,防御,敏捷):
self.name="史蒂夫" self.name=name
self.血量=100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 self.等级=等级
self.等级=100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 self.防御=防御
self.防御=325634456465396756734956795367958463956723479563956329563956325636759432700000000000000000000000000000000000000000000000 self.HP=HP
self.HP=99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999990 self.敏捷=敏捷
self.敏捷=239436487489346739657385634791356437895636865635636758375638564857345385385679563465938265000000000000000000000000000000 yase=a("亚瑟",500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,200000000000000000000000000000000000000000000000000000000000000000000000000,2000000000000000000000000000000000000000000000000000000000000000000000000000000)
yase=a() sb = a("sb",100000000000000000000000000000000000000000,10000000000000000000000000000000000000000000,2000000000000000000000000000000000000000000000000000000,100000000000000000000000000000000000)
print(yase.HP)
\ No newline at end of file print(yase.敏捷)
print(sb.防御)
def upgrade():
yase.name=yase.name+1
yase.HP=yase.HP+100000000000000
yase.等级=yase.等级+100000000000
yase.防御=yase.防御+100000000000
yase.敏捷=yase.敏捷+100000000000
upgrade()
upgrade()
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