           shouldRender = true
           if path != '/kcsapi/api_req_practice/battle_result'
             if body.api_escape_flag? && body.api_escape_flag > 0
-              idx = body.api_escape.api_escape_idx[0] - 1
-              if idx < 6
-                mainFleet.ship[idx].back = 1
-              else
-                escortFleet.ship[idx - 6].back = 1
-              idx = body.api_escape.api_tow_idx[0] - 1
-              if idx < 6
-                mainFleet.ship[idx].back = 1
-              else
-                escortFleet.ship[idx - 6].back = 1
+              escapeId = body.api_escape.api_escape_idx[0] - 1
+              towId = body.api_escape.api_tow_idx[0] - 1
             tmpShip = ""
             for i in [0..5]
               ship = mainFleet.ship[i]

      TorpedoSalvo mainFleet, enemyFleet, body.api_raigeki
  getResult mainFleet, enemyFleet, escortFleet

module.exports =
  name: 'prophet'
  priority: 1

        # ship_deck in map
        when '/kcsapi/api_get_member/ship_deck'
          shouldRender = true
          escapeId = towId = -1
          for i in [0..5]
            enemyFleet.ship[i].id = -1
            updateShip enemyFleet.ship[i]
