Commit b45bec31 by BellCodeEditor

save project

parent 910bbc7b
Showing with 2 additions and 1 deletions
......@@ -7,7 +7,8 @@ class Hero(object):
self.name = name
def combat(): # 攻击
???
self.hp -=yase.attack
print(houyi.name,'被'yase.name,'减少',yase.attack,'血','还剩'houyi.hp)
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