Commit e4719544 by BellCodeEditor

save project

parent faf61d4f
Showing with 7 additions and 0 deletions
......@@ -7,4 +7,10 @@ class Hero:
yase=Hero(300,50,1)
wuzetian=Hero(1100,2000,1)
zzx=Hero(250,250,1)
def up():
yase.attack1=yase.attack1+5
yase.hp1=yase.hp1+100
yase.level1=yase.level1+1
up()
up()
print("yase攻击为",yase.attack1)
\ 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