Commit a5a7064b by BellCodeEditor

save project

parent ce867ca5
Showing with 2 additions and 2 deletions
......@@ -7,8 +7,7 @@ class Hero(object):
self.name = name
def combat(): # 攻击
self.attack
self.attack = 40
yase = Hero("垭瑟")
houyi= Hero("后羿")
yase.combat(houyi)
\ 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