Commit f5aaa906 by BellCodeEditor

save project

parent e95b5093
Showing with 1 additions and 1 deletions
......@@ -8,7 +8,7 @@ class Hero(object):
def combat(self,emeny): # 攻击
emeny.hp-=self.attack
yone=self.name+'对'+emeny.name+'发起攻击,'
yone2='造成'+str(self.attack)+'点伤害'
yone2='造成'+str(self.attack)+'点伤害,'
if emeny.hp>0:
yone3=emeny.name+'还剩'+str(emeny.hp)+'点血'
else:
......
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