Commit 01ce8032 by BellCodeEditor

save project

parent 07ba2658
Showing with 9 additions and 2 deletions
......@@ -9,4 +9,12 @@ hy=Hero('hy',250,23)
k=Hero('K',5600,199)
print("y的属性:",yase.attack,yase.hp)
print("h的属性:",hy.attack,hy.hp)
print("k的属性:",k.attack,k.hp)
\ No newline at end of file
print("k的属性:",k.attack,k.hp)
def uprrade():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+4
uprrade()
uprrade()
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