Commit 61c93265 by BellCodeEditor

save project

parent 631e4afc
Showing with 5 additions and 4 deletions
...@@ -5,12 +5,13 @@ class Hero: ...@@ -5,12 +5,13 @@ class Hero:
self.HP=hp self.HP=hp
self.Lv=lv self.Lv=lv
self.Attack=att self.Attack=att
def up(): def up():
SB.HP=SB.HP+1 SB.HP+=111111
SB.Lv=SB.Lv=111111 SB.Lv+=1
SB.Attack=SB.Attack+111111 SB.Attack+=111111
SB=Hero("SB",9999999,99999999,9999999) SB=Hero("SB",9999999,99999999,9999999)
up() up()
print(SB.Lv)
# while True: # while True:
# a=input("") # a=input("")
# if a=="1": # if a=="1":
......
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