Commit d76982ee by BellCodeEditor

save project

parent 91652cda
Showing with 4 additions and 3 deletions
...@@ -8,7 +8,8 @@ yase=Hero("yase",1,300,20) ...@@ -8,7 +8,8 @@ yase=Hero("yase",1,300,20)
hoyi=Hero("hoyi",1,250,23) hoyi=Hero("hoyi",1,250,23)
def a(): def a():
yase.lv=yase.lv+1 yase.lv=yase.lv+1
yase.hp=yase.lv+100 yase.hp=yase.hp+100
yase.at=yase.at+5 yase.at=yase.at+5
print(yase.hp)
a() a()
print(yase.lv) print(yase.hp)
\ No newline at end of file \ 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