Commit 465fb5e9 by BellCodeEditor

save project

parent 00a0d1f4
Showing with 3 additions and 0 deletions
...@@ -10,8 +10,10 @@ def combat(): ...@@ -10,8 +10,10 @@ def combat():
infort2=self.'造成'+str(self.attack)+'点伤害' infort2=self.'造成'+str(self.attack)+'点伤害'
enemy.hp=self.attack enemy.hp=self.attack
if enemy.hp>0: if enemy.hp>0:
else:
info3=enemy.nam+"阵亡" info3=enemy.nam+"阵亡"
info=info1+info2+info3 info=info1+info2+info3
print() print()
\ 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