Commit c0e2f2ce by BellCodeEditor

save project

parent ab2e5c89
Showing with 13 additions and 2 deletions
......@@ -9,4 +9,15 @@ hy=Hero('hy',250,23)
k=Hero('K',5600,199)
print(yase.attack,yase)
print(hy.attack,hy)
print(k.attack)
\ No newline at end of file
print(k.attack)
def niganma():
yase.level=yase.level+1
yase.hp=yase.hpz+50
yase.attack=yase.attack+4
yase = Hero("亚瑟"300,20)
print('yas',yase.hp)
niganma()
niganma()
print('yase'yase.hp)
\ 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