Commit bb9da08f by BellCodeEditor

save project

parent 52aa6110
Showing with 123 additions and 0 deletions
...@@ -4,7 +4,129 @@ class Wanzi: ...@@ -4,7 +4,129 @@ class Wanzi:
self.name=name self.name=name
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
def up():
saniaoniuwan.level=saniaoniuwan.level+1
saniaoniuwan.hp=saniaoniuwan.hp-1
saniaoniuwan.attack=saniaoniuwan.attack+1
saniaoniuwan=Wanzi("撒尿牛丸",0,0) saniaoniuwan=Wanzi("撒尿牛丸",0,0)
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
up()
sanxianwanzi=Wanzi("三鲜丸子",250,0) sanxianwanzi=Wanzi("三鲜丸子",250,0)
print("撒尿牛丸的血量是",saniaoniuwan.hp) print("撒尿牛丸的血量是",saniaoniuwan.hp)
print("三鲜丸子的血量是",sanxianwanzi.hp) print("三鲜丸子的血量是",sanxianwanzi.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