!83 增加4.0角色攻略图

Merge pull request !83 from 所有二刺螈都得死/master
This commit is contained in:
Kokomi 2023-08-17 18:25:35 +00:00 committed by Gitee
commit e923ddd5cf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ export class strategy extends plugin {
name: '米游社攻略', name: '米游社攻略',
dsc: '米游社攻略图', dsc: '米游社攻略图',
event: 'message', event: 'message',
priority: 500, priority: 50,
rule: [ rule: [
{ {
reg: '^#?(更新)?\\S+攻略([1-4])?$', reg: '^#?(更新)?\\S+攻略([1-4])?$',
@ -46,7 +46,7 @@ export class strategy extends plugin {
this.collection_id = [ this.collection_id = [
[], [],
// 来源:西风驿站 // 来源:西风驿站
[839176, 839179, 839181, 1180811], [839176, 839179, 839181, 1180811, 2226210],
// 来源:原神观测枢 // 来源:原神观测枢
[813033], [813033],
// 来源:派蒙喵喵屋 // 来源:派蒙喵喵屋
@ -89,7 +89,7 @@ export class strategy extends plugin {
/** 主角特殊处理 */ /** 主角特殊处理 */
if (['10000005', '10000007', '20000000'].includes(String(role.roleId))) { if (['10000005', '10000007', '20000000'].includes(String(role.roleId))) {
let travelers = ['风主', '岩主', '雷主', '草主'] let travelers = ['风主', '岩主', '雷主', '草主', '水主']
if (!travelers.includes(role.alias)) { if (!travelers.includes(role.alias)) {
let msg = '请选择:' let msg = '请选择:'
for (let sub of travelers) { for (let sub of travelers) {

View File

@ -8,6 +8,7 @@
- 岩主 - 岩主
- 雷主 - 雷主
- 草主 - 草主
- 水主
- 履刑者 - 履刑者
- 抽卡不歪真君 - 抽卡不歪真君
10000002: 10000002: