Commit 0dcc765a by BellCodeEditor

save project

parent 20d96061
Showing with 10 additions and 5 deletions
......@@ -97,7 +97,13 @@ class hero:
self.name=name
self.hp=hp
self.attack=attack
yase=hero()
houyi=hero()
print()
print()
\ No newline at end of file
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+4
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