Commit 31792e18 by BellCodeEditor

save project

parent 2ed53fdb
Showing with 5 additions and 2 deletions
......@@ -4,8 +4,6 @@ class Hero():
self.hp=hp
self.attack=attack
# print(self.attack)
yase = Hero("戟",9,250)
def upgrade():
......@@ -18,3 +16,8 @@ upgrade()
upgrade()
print("生命值",yase.hp)
def upgrade():
print("",houyi.level)
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