Commit b05edda0 by BellCodeEditor

save project

parent a9b572da
Showing with 6 additions and 2 deletions
......@@ -5,11 +5,15 @@ class Hero:
self.hp = 300
self.ac = 20
def ug():
yase.lv+=1
yase.hp+=100
yase.ac+=50
yase = Hero("亚瑟",300,25)
houyi = Hero("后羿",100,200)
print("亚瑟的血量:",yase.hp)
print("后羿的血量:",houyi.hp)
......
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