Commit e9461696 by BellCodeEditor

save project

parent 84eab2f1
Showing with 5 additions and 0 deletions
......@@ -18,3 +18,7 @@ def upgrade():
upgrade()
upgrade()
print("升级连词后,亚瑟的血量为:"yase.hp)
def upgrade(self):
self.level=self.level+1
self.hp=self.hp+50
self.attack=self.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