Skip to content

Commit 6139ba9

Browse files
committed
fix: 401对弈竞猜
1 parent 891b34b commit 6139ba9

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/common/funcList/401_对弈竞猜.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class Func401 implements IFuncOrigin {
4141
[center, 1280, 720, 851, 580, 966, 627, 1000], // 三十万
4242
[center, 1280, 720, 1007, 416, 1109, 494, 1000], // 押注
4343
[center, 1280, 720, 682, 408, 832, 448, 1000], // 押注确认
44-
[left, 1280, 720, 25, 9, 74, 55, 2000], // 完了之后返回上一级(庭院)
44+
[left, 1280, 720, 6, 7, 60, 54, 2000], // 完了之后返回上一级(庭院)
4545
]
4646
}, { // 3 竞猜成功
4747
desc: [
@@ -133,8 +133,10 @@ export class Func401 implements IFuncOrigin {
133133
if (nextH.length === 1) nextH = '0' + nextH;
134134
// @ts-expect-error d.ts文件问题
135135
const str = http.get(rssUrl).body.string();
136-
// 从最近的5个拿,避免拿到昨天的
137-
const str2 = str.match(/<item[\s\S\n]+?<description>([\s\S\n]+?)<\/description>/g).slice(0, 5).join('');
136+
const str2 = str.match(/<item[\s\S\n]+?<description>([\s\S\n]+?)<\/description>/g)
137+
.filter((o: string) => !o.match(//)) // 过滤体服,避免拿到体服的
138+
.slice(0, 5) // 从最近的5个拿,避免拿到昨天的
139+
.join('');
138140
console.log(str2);
139141

140142
// 该规则目前是面灵气喵的固定规则,其他的up还得再看看怎么搞

src/common/multiFindColors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2264,7 +2264,7 @@ const multiFindColors: IMultiFindColorsOrigin = {
22642264
]]
22652265
},
22662266
'右边侧栏下一页图标': {
2267-
region: [center, 1280, 720, 1150, 145, 1261, 513],
2267+
region: [center, 1280, 720, 1150, 145, 1261, 573],
22682268
desc: [[
22692269
1280, 720,
22702270
[

src/common/version.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,5 +1508,9 @@ export const versionList = [{
15081508
099只玩奖励次数
15091509
302适配五星折叠
15101510
304修复逻辑错误)`,
1511+
}, {
1512+
version: '20260217_01',
1513+
desc: `新年好!
1514+
修复: 401对弈竞猜庭院右侧活动不翻页问题,误识别体服问题`
15111515
}];
15121516
export default versionList[versionList.length - 1].version;

0 commit comments

Comments
 (0)