瀏覽代碼

Merge pull request #279 from dydzio0614/patch-6

Approved, thanks!
DjWarmonger 8 年之前
父節點
當前提交
3316136ae9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/CGameHandler.cpp

+ 1 - 1
server/CGameHandler.cpp

@@ -3953,7 +3953,7 @@ bool CGameHandler::makeBattleAction(BattleAction &ba)
 				}
 
 				//counterattack
-				if (destinationStack
+				if (i == 0 && destinationStack
 					&& !stack->hasBonusOfType(Bonus::BLOCKS_RETALIATION)
 					&& destinationStack->ableToRetaliate()
 					&& stack->alive()) //attacker may have died (fire shield)