 
     handleResponse: (e) ->
       {method, path, body, postBody} = e.detail
-      {mainFleet, enemyFleet, escortFleet, airBaseFleet, getShip, getItem, planeCount, enemyFormation, enemyIntercept, enemyName, result, enableProphetDamaged, prophetCondShow, combinedFlag, mapArea, mapCell, nowSpot, nextSpot, nextSpotKind} = @state
+      {mainFleet, escortFleet, enemyFleet, enemyEscort, airBaseFleet, getShip, getItem, planeCount, enemyFormation, enemyIntercept, enemyName, result, enableProphetDamaged, prophetCondShow, combinedFlag, enemyCombined, mapArea, mapCell, nowSpot, nextSpot, nextSpotKind} = @state
       {$useitems} = window
       enableProphetDamaged = config.get 'plugin.prophet.notify.damaged', true
       prophetCondShow = config.get 'plugin.prophet.show.cond', true

    planeCount.enemy[0] = body.api_e_count - body.api_e_lostcount
    planeCount.enemy[1] = body.api_e_count

simulateBattle = (mainFleet, enemyFleet, escortFleet, combinedFlag, body, planeCount) ->
  # First air battle
  if body.api_kouku?
    if body.api_kouku.api_stage1?

        when '/kcsapi/api_req_combined_battle/airbattle', '/kcsapi/api_req_combined_battle/sp_midnight', '/kcsapi/api_req_combined_battle/battle', '/kcsapi/api_req_combined_battle/battle_water', '/kcsapi/api_req_combined_battle/midnight_battle', '/kcsapi/api_req_combined_battle/ld_airbattle'
          shouldRender = true
          if path != '/kcsapi/api_req_combined_battle/midnight_battle'
            getEnemyInfo enemyFleet, enemyEscort, body, false
          for i in [0..5]
            saveDayInjure mainFleet.ship[i]
            saveDayInjure enemyFleet.ship[i]
            saveDayInjure escortFleet.ship[i]
          result = simulateBattle mainFleet, escortFleet, combinedFlag, enemyFleet, enemyEscort, enemyCombined, body, planeCount
          for i in [0..5]
            loadDayInjure mainFleet.ship[i]
            loadDayInjure enemyFleet.ship[i]
