Commit 21dae099 by BellCodeEditor

save project

parent 25839984
Showing with 1 additions and 1 deletions
...@@ -10,7 +10,7 @@ print("禹亦的攻击力是:",yuyi.attack) ...@@ -10,7 +10,7 @@ print("禹亦的攻击力是:",yuyi.attack)
print("屁屁的攻击力是:"pp.attack) print("屁屁的攻击力是:"pp.attack)
def upgrade(): def upgrade(self):
yuyi.level = yuyi.level + 1 yuyi.level = yuyi.level + 1
yuyi.hp = yuyi.hp + 50 yuyi.hp = yuyi.hp + 50
yuyi.attack = yuyi.attack + 4 yuyi.attack = yuyi.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