Commit 68396429 by BellCodeEditor

save project

parent 57c09f0c
Showing with 5 additions and 0 deletions
......@@ -6,3 +6,7 @@ class Hero:
self.attack=attack
yase = Hero("牙涩",1000,20)
dj=Hero ("打鸡",240,21)
def upgrade():
yase.level=yase.level+1
yase.attack=yase.hp+50
yase.attack=yase.attack+4
\ No newline at end of file
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