Commit cc031646 by BellCodeEditor

save project

parent 8c6d25d9
Showing with 0 additions and 5 deletions
......@@ -5,11 +5,6 @@ class Hero:
self.attack=attack
self.hp=hp
xiao = Hero("魈",21578,1991)
# leidianjiangjun= Hero("雷电将军",18945,2093)
# print(xiao.hp)
# print(leidianjiangjun.hp)
# print(xiao.attack)
# print(leidianjiangjun.attack)
def upgrade():
xiao.level=xiao.level+1
xiao.attack=xiao.attack+186
......
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