Commit 0d89cdfc by BellCodeEditor

save project

parent 12eb41e8
Showing with 8 additions and 0 deletions
......@@ -10,3 +10,10 @@ k=Hero("K",5600,199)
print(yese.acttack)
print(hy.acttack)
print(k.acttack)
def upgrade():
yese.level+=1
yese.hp+=50
yese.acttack+=10
upgrade()
upgrade()
print(yese.acttack)
\ 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