Skip to content

Report 基地防空戦 compositions? #11

@gakada

Description

@gakada

That is, api_destruction_battle from api_req_map/next. Something like this after

this.drop = drop

if (body.api_destruction_battle != null) {
  this.report('/api/report/v2/drop_ship', {
    // undefined quest, enemy, rank
    shipId: -1,
    itemId: -1,
    mapId: drop.mapId,
    cellId: -drop.cellId, // using -drop.cellId instead of drop.cellId to indicate that it's from api_destruction_battle, alternatively, can be an extra flag
    isBoss: drop.isBoss,
    teitokuLv: _teitokuLv,
    mapLv: drop.mapLv,
    enemyShips1: body.api_ship_ke,
    enemyShips2: body.api_ship_ke_combined, // just in case, normally undefined
    enemyFormation: body.api_formation[1]
  })
}

Also, should it be

enemyShips1: null,
enemyShips2: null,

instead of

enemyShips: null,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions