Commit d77573e6 by BellCodeEditor

auto save

parent 2f65c5f8
Showing with 5 additions and 4 deletions
......@@ -8,10 +8,11 @@ class Hero(object):
def combat(self,k): # 攻击
k.hp=k.hp-self.attack
info1=
info2=
info3=
info=info1+info2+info3
info1=self.name+'对'+str(k)+"发起了进攻"
# info2=
# info3=
# info=info1+info2+info3
print(info1)
yase = Hero("垭瑟")
houyi= Hero("后羿")
......
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