           result = body.api_win_rank
         when '/kcsapi/api_port/port'
           flag = true
-          _deck = window._decks[deckId]
+          combinedFlag = body.api_combined_flag
           {_ships} = window
           enemyFormation = 0
           shipLv[i] = -1 for i in [0..11]
-          for shipId, i in _deck.api_ship
-            continue if shipId == -1
-            shipName[i] = _ships[shipId].api_name
-            shipLv[i] = _ships[shipId].api_lv
-            maxHp[i] = _ships[shipId].api_maxhp
-            nowHp[i] = _ships[shipId].api_nowhp
-            damageHp[i] = 0
-            shipCond[i] = _ships[shipId].api_cond
+          if combinedFlag != 0
+            for shipId, i in window._decks[0].api_ship
+              continue if shipId == -1
+              shipName[i] = _ships[shipId].api_name
+              shipLv[i] = _ships[shipId].api_lv
+              maxHp[i] = _ships[shipId].api_maxhp
+              nowHp[i] = _ships[shipId].api_nowhp
+              damageHp[i] = 0
+            for shipId, i in window._decks[1].api_ship
+              continue if shipId == -1
+              combinedName[i] = _ships[shipId].api_name
+              combinedLv[i] = _ships[shipId].api_lv
+              combinedMaxHp[i] = _ships[shipId].api_maxhp
+              combinedNowHp[i] = _ships[shipId].api_nowhp
+          else
+            _deck = window._decks[deckId]
+
+            shipLv[i] = -1 for i in [0..11]
+            for shipId, i in _deck.api_ship
+              continue if shipId == -1
+              shipName[i] = _ships[shipId].api_name
+              shipLv[i] = _ships[shipId].api_lv
+              maxHp[i] = _ships[shipId].api_maxhp
+              nowHp[i] = _ships[shipId].api_nowhp
+              damageHp[i] = 0
+              shipCond[i] = _ships[shipId].api_cond
           shipLv[i] = -1 for i in [6..11]
       return unless flag
       @setState

      continue if damage <= 0
      afterHp[i - 1] -= damage
  afterHp

hougekiAttack = (afterHp, hougeki) ->
  for damageFrom, i in hougeki.api_at_list

        deckId: deckId
        enableProphetDamaged: enableProphetDamaged
        prophetCondShow: prophetCondShow
        combinedFlag: combinedFlag
        combinedName: combinedName
        combinedLv: combinedLv
        combinedNowHp: combinedNowHp
        combinedMaxHp: combinedMaxHp
        combinedAfterHp: combinedAfterHp
        combinedDamageHp: combinedDamageHp

    componentDidMount: ->
      window.addEventListener 'game.response', @handleResponse
