Commit 3523fca1 by BellCodeEditor

save project

parent e3b6f449
Showing with 1 additions and 1 deletions
...@@ -7,7 +7,7 @@ class a(object): ...@@ -7,7 +7,7 @@ class a(object):
self.b = b self.b = b
def combat(self,c): # 攻击 def combat(self,c): # 攻击
d=self.b+"攻击"+combat.c d=self.b+"攻击"+combat.b
e="伤害"+str(self.at) e="伤害"+str(self.at)
combat.hp-=self.at combat.hp-=self.at
if combat.hp>0: if combat.hp>0:
......
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