Skip to content

Commit

Permalink
v3.3.13 游击舰队退避索敌问题修复
Browse files Browse the repository at this point in the history
Signed-off-by: ydq <[email protected]>
  • Loading branch information
ydq committed Sep 3, 2024
1 parent 33b0137 commit 9772676
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.es
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let combined_type = 0, preEscape = [], escapeList = [], api_cell_data = 0;
let quest_clear_id = -1, questlist = [], questDate = 0; // 任务日期与任务列表同步更新
let friendly_status = { flag: 0, type: 0 }; // 友军状态,是否邀请,是否强力
let friendly_data = {} // 友军数据暂存 为了保存出击前后的喷火数,延迟发送
let version = '3.3.12'
let version = '3.3.13'
let formation = '' // 阵型选择
let api_xal01 = '' // 是否削甲
let firenumBefore = 0 // 进入海图时的喷火数量
Expand Down Expand Up @@ -299,7 +299,7 @@ let handleGameResponse = (e) => {
let s1 = {api_ship: JSON.parse(JSON.stringify(_decks[deck1_index].api_ship))}
let s2 = {api_ship: JSON.parse(JSON.stringify(_decks[1].api_ship))}
for(let i of escapeList) {
if(i > 6) {
if(i > 6 && hasTwo) {
s2.api_ship[i - 7] = -1;
}else {
s1.api_ship[i - 1] = -1;
Expand Down Expand Up @@ -456,7 +456,7 @@ let handleGameResponse = (e) => {
let s1 = {api_ship: JSON.parse(JSON.stringify(_decks[deck1_index].api_ship))}
let s2 = {api_ship: JSON.parse(JSON.stringify(_decks[1].api_ship))}
for(let i of escapeList) {
if(i > 6) {
if(i > 6 && hasTwo) {
s2.api_ship[i - 7] = -1;
}else {
s1.api_ship[i - 1] = -1;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "poi-plugin-kcwiki-report",
"version": "3.3.12",
"version": "3.3.13",
"description": "Report game data for kcwiki",
"main": "index.es",
"scripts": {
Expand Down

0 comments on commit 9772676

Please sign in to comment.