Open perryhuynh opened 4 years ago
Are you still running FCF? Please post the combat data from a combat node post-FCF if you can..
And the resulting kcsapi/api_get_member/ship_deck
API response.
I've added some logic necessary for FCF, but am waiting on API responses to be able to finalize it.
The changes also have rudimentary support for #94, although it needs update to the config handler and GUI to be fully implemented.
5th ship in escort fleet taiha'ed, retreating with 3rd ship in escort fleet. Relevant portions in json responses are as follows.
kcsapi/api_req_sortie/battleresult
; contains api showing 1-based idx for ships to escape and ships that can escort:
{
"api_data": {
...
"api_escape_flag": 1,
"api_escape": {
"api_escape_idx": [
11
],
"api_tow_idx": [
9,
10
]
}
}
}
kcsapi/api_req_combined_battle/goback_port
; might as well be empty:
{"api_result":1,"api_result_msg":"\u6210\u529f"}
kcsapi/api_get_member/ship_deck
; retreated ships have fuel value of 0:
{
"api_data": {
"api_ship_data": [
{
...
"api_fuel": 0,
...
}
]
}
}
kcsapi/api_req_combined_battle/battle
; no changes to reported HP:
{
"api_data": {
...
"api_escape_idx_combined": [
3,
5
],
...
}
}
Outstanding question(s):
api_escape_idx_combined
?
Looks like the FCF functionality still needs to be reimplemented