koishi-plugin-ggcevo-game 1.4.30 → 1.4.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/boss/attackhandling.d.ts +2 -0
- package/lib/boss/boss.d.ts +32 -31
- package/lib/boss/passive.d.ts +108 -54
- package/lib/boss/passivehandler.d.ts +27 -3
- package/lib/index.js +314 -220
- package/lib/tasks.d.ts +18 -0
- package/lib/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,8 @@ export declare function handlePrimaryAttack(ctx: Context, session: any, config:
|
|
|
11
11
|
radiationApplied: boolean;
|
|
12
12
|
freezing: boolean;
|
|
13
13
|
bileStacks: any;
|
|
14
|
+
pulseApplied: boolean;
|
|
15
|
+
arcApplied: boolean;
|
|
14
16
|
}>;
|
|
15
17
|
export declare function handleScatterAttack(ctx: Context, session: any, config: Config, handle: string, equippedWeapon: any, targetBoss: any, weaponName: string, weaponData: any, activeBosses: any[], bossGroup: any): Promise<{
|
|
16
18
|
scatterEffectMessages: string[];
|
package/lib/boss/boss.d.ts
CHANGED
|
@@ -2,24 +2,25 @@ import { passiveConfig } from './passive';
|
|
|
2
2
|
export type BossTag = '重甲' | '轻甲' | '护盾' | '生物' | '机械' | '灵能' | '惧热' | '惧寒' | '异形' | '建筑' | '重型';
|
|
3
3
|
export type PassiveEffect = keyof typeof passiveConfig;
|
|
4
4
|
export type BossPoolItem = {
|
|
5
|
+
id: number;
|
|
5
6
|
main: BossEntity;
|
|
6
7
|
minions: BossEntity[];
|
|
7
8
|
};
|
|
8
9
|
export type BossEntity = {
|
|
9
|
-
id?: number;
|
|
10
10
|
name: string;
|
|
11
11
|
type: '主宰' | '子代';
|
|
12
12
|
maxHP: number;
|
|
13
|
+
maxEnergy: number;
|
|
13
14
|
tags: BossTag[];
|
|
14
15
|
passive: PassiveEffect[];
|
|
15
16
|
};
|
|
16
17
|
export declare const bossPool: readonly [{
|
|
18
|
+
id: number;
|
|
17
19
|
main: {
|
|
18
|
-
id: number;
|
|
19
20
|
name: string;
|
|
20
21
|
type: "主宰";
|
|
21
22
|
maxHP: number;
|
|
22
|
-
|
|
23
|
+
maxEnergy: number;
|
|
23
24
|
tags: ("重甲" | "生物" | "异形")[];
|
|
24
25
|
passive: "异形甲壳"[];
|
|
25
26
|
};
|
|
@@ -27,35 +28,35 @@ export declare const bossPool: readonly [{
|
|
|
27
28
|
name: string;
|
|
28
29
|
type: "子代";
|
|
29
30
|
maxHP: number;
|
|
30
|
-
|
|
31
|
+
maxEnergy: number;
|
|
31
32
|
tags: ("重甲" | "生物" | "异形" | "重型")[];
|
|
32
33
|
passive: ("弱化形态" | "异形甲壳")[];
|
|
33
34
|
}[];
|
|
34
35
|
}, {
|
|
36
|
+
id: number;
|
|
35
37
|
main: {
|
|
36
|
-
id: number;
|
|
37
38
|
name: string;
|
|
38
39
|
type: "主宰";
|
|
39
40
|
maxHP: number;
|
|
40
|
-
|
|
41
|
+
maxEnergy: number;
|
|
41
42
|
tags: ("重甲" | "生物" | "惧热" | "异形" | "重型")[];
|
|
42
|
-
passive: ("
|
|
43
|
+
passive: ("冰霜进化" | "冰霜环绕")[];
|
|
43
44
|
};
|
|
44
45
|
minions: {
|
|
45
46
|
name: string;
|
|
46
47
|
type: "子代";
|
|
47
48
|
maxHP: number;
|
|
48
|
-
|
|
49
|
+
maxEnergy: number;
|
|
49
50
|
tags: ("生物" | "惧热" | "异形")[];
|
|
50
|
-
passive: ("
|
|
51
|
+
passive: ("弱化形态" | "冰霜回复" | "冰霜进化")[];
|
|
51
52
|
}[];
|
|
52
53
|
}, {
|
|
54
|
+
id: number;
|
|
53
55
|
main: {
|
|
54
|
-
id: number;
|
|
55
56
|
name: string;
|
|
56
57
|
type: "主宰";
|
|
57
58
|
maxHP: number;
|
|
58
|
-
|
|
59
|
+
maxEnergy: number;
|
|
59
60
|
tags: ("重甲" | "生物" | "异形" | "重型")[];
|
|
60
61
|
passive: ("应激甲壳II" | "求生本能II" | "冷适应")[];
|
|
61
62
|
};
|
|
@@ -63,17 +64,17 @@ export declare const bossPool: readonly [{
|
|
|
63
64
|
name: string;
|
|
64
65
|
type: "子代";
|
|
65
66
|
maxHP: number;
|
|
66
|
-
|
|
67
|
+
maxEnergy: number;
|
|
67
68
|
tags: ("重甲" | "生物" | "异形" | "重型")[];
|
|
68
69
|
passive: ("弱化形态" | "应激甲壳I" | "求生本能I" | "冷适应")[];
|
|
69
70
|
}[];
|
|
70
71
|
}, {
|
|
72
|
+
id: number;
|
|
71
73
|
main: {
|
|
72
|
-
id: number;
|
|
73
74
|
name: string;
|
|
74
75
|
type: "主宰";
|
|
75
76
|
maxHP: number;
|
|
76
|
-
|
|
77
|
+
maxEnergy: number;
|
|
77
78
|
tags: ("重甲" | "生物" | "机械" | "异形")[];
|
|
78
79
|
passive: ("感染空间站" | "病毒云" | "霉菌滋生")[];
|
|
79
80
|
};
|
|
@@ -81,24 +82,24 @@ export declare const bossPool: readonly [{
|
|
|
81
82
|
name: string;
|
|
82
83
|
type: "子代";
|
|
83
84
|
maxHP: number;
|
|
84
|
-
|
|
85
|
+
maxEnergy: number;
|
|
85
86
|
tags: ("重甲" | "生物" | "机械" | "异形")[];
|
|
86
87
|
passive: ("弱化形态" | "病毒云" | "霉菌滋生")[];
|
|
87
88
|
} | {
|
|
88
89
|
name: string;
|
|
89
90
|
type: "子代";
|
|
90
91
|
maxHP: number;
|
|
91
|
-
|
|
92
|
+
maxEnergy: number;
|
|
92
93
|
tags: ("重甲" | "机械" | "建筑")[];
|
|
93
94
|
passive: ("岗哨机枪" | "结构装甲")[];
|
|
94
95
|
})[];
|
|
95
96
|
}, {
|
|
97
|
+
id: number;
|
|
96
98
|
main: {
|
|
97
|
-
id: number;
|
|
98
99
|
name: string;
|
|
99
100
|
type: "主宰";
|
|
100
101
|
maxHP: number;
|
|
101
|
-
|
|
102
|
+
maxEnergy: number;
|
|
102
103
|
tags: ("生物" | "异形")[];
|
|
103
104
|
passive: ("吸血唾液" | "进食" | "嗜血狂暴" | "吐血")[];
|
|
104
105
|
};
|
|
@@ -106,17 +107,17 @@ export declare const bossPool: readonly [{
|
|
|
106
107
|
name: string;
|
|
107
108
|
type: "子代";
|
|
108
109
|
maxHP: number;
|
|
109
|
-
|
|
110
|
+
maxEnergy: number;
|
|
110
111
|
tags: ("生物" | "异形")[];
|
|
111
112
|
passive: ("弱化形态" | "吸血唾液" | "进食" | "吐血")[];
|
|
112
113
|
}[];
|
|
113
114
|
}, {
|
|
115
|
+
id: number;
|
|
114
116
|
main: {
|
|
115
|
-
id: number;
|
|
116
117
|
name: string;
|
|
117
118
|
type: "主宰";
|
|
118
119
|
maxHP: number;
|
|
119
|
-
|
|
120
|
+
maxEnergy: number;
|
|
120
121
|
tags: ("护盾" | "灵能" | "异形" | "重型")[];
|
|
121
122
|
passive: ("超导体" | "能源虹吸" | "电能立场" | "电能冲击波" | "脉冲" | "能量黑洞")[];
|
|
122
123
|
};
|
|
@@ -124,17 +125,17 @@ export declare const bossPool: readonly [{
|
|
|
124
125
|
name: string;
|
|
125
126
|
type: "子代";
|
|
126
127
|
maxHP: number;
|
|
127
|
-
|
|
128
|
+
maxEnergy: number;
|
|
128
129
|
tags: ("护盾" | "灵能" | "异形")[];
|
|
129
130
|
passive: ("弱化形态" | "超导体" | "能量虹吸" | "能量黑洞")[];
|
|
130
131
|
}[];
|
|
131
132
|
}, {
|
|
133
|
+
id: number;
|
|
132
134
|
main: {
|
|
133
|
-
id: number;
|
|
134
135
|
name: string;
|
|
135
136
|
type: "主宰";
|
|
136
137
|
maxHP: number;
|
|
137
|
-
|
|
138
|
+
maxEnergy: number;
|
|
138
139
|
tags: ("重甲" | "生物" | "惧寒" | "异形" | "重型")[];
|
|
139
140
|
passive: ("火焰异形" | "庞兽狂暴" | "灼烧粘液" | "火焰吐息" | "太阳耀斑" | "炼狱爆弹")[];
|
|
140
141
|
};
|
|
@@ -142,17 +143,17 @@ export declare const bossPool: readonly [{
|
|
|
142
143
|
name: string;
|
|
143
144
|
type: "子代";
|
|
144
145
|
maxHP: number;
|
|
145
|
-
|
|
146
|
+
maxEnergy: number;
|
|
146
147
|
tags: ("重甲" | "生物" | "惧寒" | "异形")[];
|
|
147
148
|
passive: ("弱化形态" | "火焰异形" | "灼烧粘液" | "腐蚀胆汁" | "燃烧潜地")[];
|
|
148
149
|
}[];
|
|
149
150
|
}, {
|
|
151
|
+
id: number;
|
|
150
152
|
main: {
|
|
151
|
-
id: number;
|
|
152
153
|
name: string;
|
|
153
154
|
type: "主宰";
|
|
154
155
|
maxHP: number;
|
|
155
|
-
|
|
156
|
+
maxEnergy: number;
|
|
156
157
|
tags: ("生物" | "异形")[];
|
|
157
158
|
passive: ("猎手异形" | "狂暴" | "伪装" | "致命一击")[];
|
|
158
159
|
};
|
|
@@ -160,17 +161,17 @@ export declare const bossPool: readonly [{
|
|
|
160
161
|
name: string;
|
|
161
162
|
type: "子代";
|
|
162
163
|
maxHP: number;
|
|
163
|
-
|
|
164
|
+
maxEnergy: number;
|
|
164
165
|
tags: ("生物" | "异形")[];
|
|
165
166
|
passive: ("弱化形态" | "猎手异形" | "狂暴" | "伪装")[];
|
|
166
167
|
}[];
|
|
167
168
|
}, {
|
|
169
|
+
id: number;
|
|
168
170
|
main: {
|
|
169
|
-
id: number;
|
|
170
171
|
name: string;
|
|
171
172
|
type: "主宰";
|
|
172
173
|
maxHP: number;
|
|
173
|
-
|
|
174
|
+
maxEnergy: number;
|
|
174
175
|
tags: ("重甲" | "护盾" | "生物" | "灵能" | "异形")[];
|
|
175
176
|
passive: ("星界之风" | "宇宙能量" | "复苏" | "光影之刃" | "远古预兆" | "闪电冲锋" | "超视距穿梭")[];
|
|
176
177
|
};
|
|
@@ -178,7 +179,7 @@ export declare const bossPool: readonly [{
|
|
|
178
179
|
name: string;
|
|
179
180
|
type: "子代";
|
|
180
181
|
maxHP: number;
|
|
181
|
-
|
|
182
|
+
maxEnergy: number;
|
|
182
183
|
tags: ("重甲" | "护盾" | "生物" | "灵能" | "异形")[];
|
|
183
184
|
passive: ("弱化形态" | "星界之风" | "心灵狂热")[];
|
|
184
185
|
}[];
|
package/lib/boss/passive.d.ts
CHANGED
|
@@ -1,218 +1,272 @@
|
|
|
1
1
|
export declare const passiveConfig: {
|
|
2
2
|
readonly 弱化形态: {
|
|
3
3
|
readonly effect: 0.1;
|
|
4
|
-
readonly
|
|
4
|
+
readonly maxStacks: 0;
|
|
5
|
+
readonly description: "子代防御脆弱,所受伤害提升10%";
|
|
5
6
|
};
|
|
6
7
|
readonly 异形甲壳: {
|
|
7
8
|
readonly effect: -0.2;
|
|
8
|
-
readonly
|
|
9
|
+
readonly maxStacks: 0;
|
|
10
|
+
readonly description: "强化生物甲壳提供防护,所受伤害降低20%";
|
|
9
11
|
};
|
|
10
12
|
readonly 孤立无援: {
|
|
11
13
|
readonly effect: 0.2;
|
|
12
|
-
readonly
|
|
14
|
+
readonly maxStacks: 0;
|
|
15
|
+
readonly description: "无存活子代时,所受伤害提升20%";
|
|
13
16
|
};
|
|
14
17
|
readonly 冰霜回复: {
|
|
15
18
|
readonly effect: 0;
|
|
16
|
-
readonly
|
|
19
|
+
readonly maxStacks: 0;
|
|
20
|
+
readonly description: "生命值降至30%以下时触发,立即回复自身40%最大生命值,并为其他存活异形回复10%最大生命值(触发后效果移除)";
|
|
17
21
|
};
|
|
18
22
|
readonly 冰霜进化: {
|
|
19
23
|
readonly effect: 0;
|
|
20
|
-
readonly
|
|
24
|
+
readonly maxStacks: 0;
|
|
25
|
+
readonly description: "免疫冰霜类伤害,受到冰霜伤害时额外回复生命值";
|
|
21
26
|
};
|
|
22
27
|
readonly 冰霜环绕: {
|
|
23
28
|
readonly effect: 0;
|
|
24
|
-
readonly
|
|
29
|
+
readonly maxStacks: 0;
|
|
30
|
+
readonly description: "生命值降至30%以下时触发,立即回复自身45%最大生命值(触发后效果移除)";
|
|
25
31
|
};
|
|
26
32
|
readonly 寒霜地狱: {
|
|
27
33
|
readonly effect: -0.3;
|
|
28
|
-
readonly
|
|
34
|
+
readonly maxStacks: 0;
|
|
35
|
+
readonly description: "暴风雪笼罩战场,所受伤害降低30%";
|
|
29
36
|
};
|
|
30
37
|
readonly 应激甲壳I: {
|
|
31
38
|
readonly effect: -0.2;
|
|
32
|
-
readonly
|
|
39
|
+
readonly maxStacks: 0;
|
|
40
|
+
readonly description: "基础应激甲壳生效,所受伤害降低20%";
|
|
33
41
|
};
|
|
34
42
|
readonly 应激甲壳II: {
|
|
35
43
|
readonly effect: -0.25;
|
|
36
|
-
readonly
|
|
44
|
+
readonly maxStacks: 0;
|
|
45
|
+
readonly description: "进阶应激甲壳生效,所受伤害降低25%";
|
|
37
46
|
};
|
|
38
47
|
readonly 求生本能I: {
|
|
39
48
|
readonly effect: 0;
|
|
40
|
-
readonly
|
|
49
|
+
readonly maxStacks: 0;
|
|
50
|
+
readonly description: "濒死状态下,快速回复30%最大生命值(触发后效果移除)";
|
|
41
51
|
};
|
|
42
52
|
readonly 求生本能II: {
|
|
43
53
|
readonly effect: 0;
|
|
44
|
-
readonly
|
|
54
|
+
readonly maxStacks: 0;
|
|
55
|
+
readonly description: "濒死状态下,快速回复50%最大生命值(触发后效果移除)";
|
|
45
56
|
};
|
|
46
57
|
readonly 冷适应: {
|
|
47
58
|
readonly effect: 0;
|
|
48
|
-
readonly
|
|
59
|
+
readonly maxStacks: 10;
|
|
60
|
+
readonly description: "累计承受10次寒冷伤害后,获得「惧热」标签并获得寒冷伤害免疫";
|
|
49
61
|
};
|
|
50
62
|
readonly 感染空间站: {
|
|
51
63
|
readonly effect: 0;
|
|
52
|
-
readonly
|
|
64
|
+
readonly maxStacks: 0;
|
|
65
|
+
readonly description: "若「空间站哨枪塔」存活(该单位不计入子代),自身所受伤害降低50%";
|
|
53
66
|
};
|
|
54
67
|
readonly 病毒云: {
|
|
55
68
|
readonly effect: -0.1;
|
|
56
|
-
readonly
|
|
69
|
+
readonly maxStacks: 0;
|
|
70
|
+
readonly description: "释放病毒云雾形成保护,所受伤害降低10%";
|
|
57
71
|
};
|
|
58
72
|
readonly 霉菌滋生: {
|
|
59
73
|
readonly effect: 0;
|
|
60
|
-
readonly
|
|
74
|
+
readonly maxStacks: 0;
|
|
75
|
+
readonly description: "受到攻击后,若「空间站哨枪塔」存活,为其恢复1%最大生命值";
|
|
61
76
|
};
|
|
62
77
|
readonly 岗哨机枪: {
|
|
63
78
|
readonly effect: 0;
|
|
64
|
-
readonly
|
|
79
|
+
readonly maxStacks: 10;
|
|
80
|
+
readonly description: "累计承受10次攻击后,为所有存活异形恢复其10%最大生命值(可重复触发)";
|
|
65
81
|
};
|
|
66
82
|
readonly 结构装甲: {
|
|
67
83
|
readonly effect: 0;
|
|
68
|
-
readonly
|
|
84
|
+
readonly maxStacks: 0;
|
|
85
|
+
readonly description: "装备结构装甲,常规伤害降低20%;若伤害来源为热能武器,伤害降低提升至40%";
|
|
69
86
|
};
|
|
70
87
|
readonly 吸血唾液: {
|
|
71
88
|
readonly effect: 0;
|
|
72
|
-
readonly
|
|
89
|
+
readonly maxStacks: 20;
|
|
90
|
+
readonly description: "受到攻击时叠加「吸血」层数,每层提供5%减伤(最多叠加20层)";
|
|
73
91
|
};
|
|
74
92
|
readonly 进食: {
|
|
75
93
|
readonly effect: 0;
|
|
76
|
-
readonly
|
|
94
|
+
readonly maxStacks: 0;
|
|
95
|
+
readonly description: "当「吸血」层数达到20层时,下一次受击消耗所有层数并回复20%最大生命值";
|
|
77
96
|
};
|
|
78
97
|
readonly 嗜血狂暴: {
|
|
79
98
|
readonly effect: 0;
|
|
80
|
-
readonly
|
|
99
|
+
readonly maxStacks: 0;
|
|
100
|
+
readonly description: "生命值低于50%时触发狂暴状态,每次受击额外叠加1层「吸血」,同时所受伤害降低20%";
|
|
81
101
|
};
|
|
82
102
|
readonly 吐血: {
|
|
83
103
|
readonly effect: 0;
|
|
84
|
-
readonly
|
|
104
|
+
readonly maxStacks: 0;
|
|
105
|
+
readonly description: "无「吸血」层数时,所受伤害提升20%";
|
|
85
106
|
};
|
|
86
107
|
readonly 电能导体: {
|
|
87
108
|
readonly effect: 0;
|
|
88
|
-
readonly
|
|
109
|
+
readonly maxStacks: 0;
|
|
110
|
+
readonly description: "生命值降至10%以下时,「护盾」标签转换为「重甲」标签";
|
|
89
111
|
};
|
|
90
112
|
readonly 超导体: {
|
|
91
113
|
readonly effect: 0;
|
|
92
|
-
readonly
|
|
114
|
+
readonly maxStacks: 0;
|
|
115
|
+
readonly description: "生命值降至5%以下时,「护盾」标签转换为「重甲」标签";
|
|
93
116
|
};
|
|
94
117
|
readonly 能量虹吸: {
|
|
95
118
|
readonly effect: 0;
|
|
96
|
-
readonly
|
|
119
|
+
readonly maxStacks: 0;
|
|
120
|
+
readonly description: "生命值≥70%时,所受伤害降低40%;生命值≥30%时,伤害降低20%";
|
|
97
121
|
};
|
|
98
122
|
readonly 能源虹吸: {
|
|
99
123
|
readonly effect: 0;
|
|
100
|
-
readonly
|
|
124
|
+
readonly maxStacks: 0;
|
|
125
|
+
readonly description: "能量值≥80%时,所受伤害降低50%;能量值≥50%时,伤害降低30%";
|
|
101
126
|
};
|
|
102
127
|
readonly 电能立场: {
|
|
103
128
|
readonly effect: 0;
|
|
104
|
-
readonly
|
|
129
|
+
readonly maxStacks: 0;
|
|
130
|
+
readonly description: "能量值≥30%时,每次受击有55%概率免疫该次伤害(无法免疫寒冷伤害);每存在1层「寒冷」状态,免疫概率降低5%";
|
|
105
131
|
};
|
|
106
132
|
readonly 电能冲击波: {
|
|
107
133
|
readonly effect: 0;
|
|
108
|
-
readonly
|
|
134
|
+
readonly maxStacks: 0;
|
|
135
|
+
readonly description: "每次受击时,回复100点「能量」";
|
|
109
136
|
};
|
|
110
137
|
readonly 脉冲: {
|
|
111
138
|
readonly effect: 0;
|
|
112
|
-
readonly
|
|
139
|
+
readonly maxStacks: 0;
|
|
140
|
+
readonly description: "能量值≥30%时,每次受击有60%概率为所有存活异形回复100点生命值;每存在1层「寒冷」状态,概率降低5%";
|
|
113
141
|
};
|
|
114
142
|
readonly 能量黑洞: {
|
|
115
143
|
readonly effect: -0.2;
|
|
116
|
-
readonly
|
|
144
|
+
readonly maxStacks: 0;
|
|
145
|
+
readonly description: "存在「能量黑洞」时,所受伤害降低20%";
|
|
117
146
|
};
|
|
118
147
|
readonly 火焰异形: {
|
|
119
148
|
readonly effect: 0;
|
|
120
|
-
readonly
|
|
149
|
+
readonly maxStacks: 0;
|
|
150
|
+
readonly description: "免疫火焰类伤害,受到火焰伤害时额外回复生命值";
|
|
121
151
|
};
|
|
122
152
|
readonly 庞兽狂暴: {
|
|
123
153
|
readonly effect: 0;
|
|
124
|
-
readonly
|
|
154
|
+
readonly maxStacks: 0;
|
|
155
|
+
readonly description: "生命值低于50%时触发狂暴状态,所受伤害降低50%";
|
|
125
156
|
};
|
|
126
157
|
readonly 灼烧粘液: {
|
|
127
158
|
readonly effect: 0;
|
|
128
|
-
readonly
|
|
159
|
+
readonly maxStacks: 20;
|
|
160
|
+
readonly description: "受到伤害时叠加「胆汁」层数;若存在「胆汁」层数时受到火焰攻击,立即清空层数并回复(层数×10)点生命值";
|
|
129
161
|
};
|
|
130
162
|
readonly 腐蚀胆汁: {
|
|
131
163
|
readonly effect: 0;
|
|
132
|
-
readonly
|
|
164
|
+
readonly maxStacks: 0;
|
|
165
|
+
readonly description: "「胆汁」层数达到10层时,下一次受击为所有存活异形回复1000点生命值并清空层数";
|
|
133
166
|
};
|
|
134
167
|
readonly 火焰吐息: {
|
|
135
168
|
readonly effect: 0;
|
|
136
|
-
readonly
|
|
169
|
+
readonly maxStacks: 0;
|
|
170
|
+
readonly description: "「胆汁」层数达到20层时,下一次攻击为所有存活异形回复50%最大生命值并清空层数";
|
|
137
171
|
};
|
|
138
172
|
readonly 太阳耀斑: {
|
|
139
173
|
readonly effect: 0;
|
|
140
|
-
readonly
|
|
174
|
+
readonly maxStacks: 0;
|
|
175
|
+
readonly description: "所有子代阵亡后,移除「惧寒」标签及「孤立无援」并获得寒冷伤害免疫";
|
|
141
176
|
};
|
|
142
177
|
readonly 燃烧潜地: {
|
|
143
178
|
readonly effect: 0;
|
|
144
|
-
readonly
|
|
179
|
+
readonly maxStacks: 0;
|
|
180
|
+
readonly description: "生命值降至10%以下时触发,立即回复50%最大生命值(触发后效果移除)";
|
|
145
181
|
};
|
|
146
182
|
readonly 炼狱爆弹: {
|
|
147
183
|
readonly effect: 0;
|
|
148
|
-
readonly
|
|
184
|
+
readonly maxStacks: 0;
|
|
185
|
+
readonly description: "每存在1层「胆汁」,所受伤害降低5%;若存在存活子代,伤害降低效果额外提升5%(即每层「胆汁」总降低10%)";
|
|
149
186
|
};
|
|
150
187
|
readonly 猎手异形: {
|
|
151
188
|
readonly effect: 0;
|
|
152
|
-
readonly
|
|
189
|
+
readonly maxStacks: 0;
|
|
190
|
+
readonly description: "存在其他存活异形时,所受伤害降低20%;无其他存活异形时,所受伤害提升20%;免疫火焰及寒冷伤害";
|
|
153
191
|
};
|
|
154
192
|
readonly 狂暴: {
|
|
155
193
|
readonly effect: 0;
|
|
156
|
-
readonly
|
|
194
|
+
readonly maxStacks: 0;
|
|
195
|
+
readonly description: "生命值低于50%时触发狂暴状态,所受伤害降低50%";
|
|
157
196
|
};
|
|
158
197
|
readonly 伪装: {
|
|
159
198
|
readonly effect: 0;
|
|
160
|
-
readonly
|
|
199
|
+
readonly maxStacks: 0;
|
|
200
|
+
readonly description: "受击时记录伤害来源的武器名称(仅保留最新),下次受到同名称武器伤害时伤害降低80%";
|
|
161
201
|
};
|
|
162
202
|
readonly 致命一击: {
|
|
163
203
|
readonly effect: 0;
|
|
164
|
-
readonly
|
|
204
|
+
readonly maxStacks: 0;
|
|
205
|
+
readonly description: "受击时有5%概率免疫该次伤害";
|
|
165
206
|
};
|
|
166
207
|
readonly 星界之风: {
|
|
167
208
|
readonly effect: 0;
|
|
168
|
-
readonly
|
|
209
|
+
readonly maxStacks: 0;
|
|
210
|
+
readonly description: "受击时有5%概率为所有存活异形回复200点生命值";
|
|
169
211
|
};
|
|
170
212
|
readonly 心灵狂热: {
|
|
171
213
|
readonly effect: 0;
|
|
172
|
-
readonly
|
|
214
|
+
readonly maxStacks: 0;
|
|
215
|
+
readonly description: "生命值低于50%时进入心灵狂热状态,所受伤害降低20%,同时「星界之风」触发概率翻倍";
|
|
173
216
|
};
|
|
174
217
|
readonly 宇宙能量: {
|
|
175
218
|
readonly effect: 0;
|
|
176
|
-
readonly
|
|
219
|
+
readonly maxStacks: 0;
|
|
220
|
+
readonly description: "受击时回复等同于本次伤害值的「能量」;若「能量」已满,则将溢出部分转换为自身生命值";
|
|
177
221
|
};
|
|
178
222
|
readonly 复苏: {
|
|
179
223
|
readonly effect: 0;
|
|
180
|
-
readonly
|
|
224
|
+
readonly maxStacks: 0;
|
|
225
|
+
readonly description: "承受致命伤害时免疫死亡,立即回复50%最大生命值及100%「能量」,并获得「灵能构造炉」技能(触发后效果移除)";
|
|
181
226
|
};
|
|
182
227
|
readonly 光影之刃: {
|
|
183
228
|
readonly effect: 0;
|
|
184
|
-
readonly
|
|
229
|
+
readonly maxStacks: 0;
|
|
230
|
+
readonly description: "受击后叠加「光影之刃」层数";
|
|
185
231
|
};
|
|
186
232
|
readonly 远古预兆: {
|
|
187
233
|
readonly effect: 0;
|
|
188
|
-
readonly
|
|
234
|
+
readonly maxStacks: 0;
|
|
235
|
+
readonly description: "受击时有1%概率免疫该次伤害并回复100点「能量」";
|
|
189
236
|
};
|
|
190
237
|
readonly 闪电冲锋: {
|
|
191
238
|
readonly effect: 0;
|
|
192
|
-
readonly
|
|
239
|
+
readonly maxStacks: 0;
|
|
240
|
+
readonly description: "每存在1层「光影之刃」,「远古预兆」「灵能构造炉」触发概率各提升0.5%";
|
|
193
241
|
};
|
|
194
242
|
readonly 超视距穿梭: {
|
|
195
243
|
readonly effect: 0;
|
|
196
|
-
readonly
|
|
244
|
+
readonly maxStacks: 0;
|
|
245
|
+
readonly description: "能量值≥30%时,每层「光影之刃」降低5%所受伤害;能量值≥60%时,每层降低10%;能量值≤10%时,每层提升5%所受伤害";
|
|
197
246
|
};
|
|
198
247
|
readonly 灵能构造炉: {
|
|
199
248
|
readonly effect: 0;
|
|
200
|
-
readonly
|
|
249
|
+
readonly maxStacks: 0;
|
|
250
|
+
readonly description: "受击后有5%概率随机获得以下技能之一:天启超载护盾、塌缩脉冲、地毯式轰炸、轰炸引导";
|
|
201
251
|
};
|
|
202
252
|
readonly 天启超载护盾: {
|
|
203
253
|
readonly effect: 0;
|
|
204
|
-
readonly
|
|
254
|
+
readonly maxStacks: 0;
|
|
255
|
+
readonly description: "受击后有5%概率为所有存活异形回复(「光影之刃」层数×10)点生命值";
|
|
205
256
|
};
|
|
206
257
|
readonly 塌缩脉冲: {
|
|
207
258
|
readonly effect: 0;
|
|
208
|
-
readonly
|
|
259
|
+
readonly maxStacks: 0;
|
|
260
|
+
readonly description: "受击后额外叠加1层「光影之刃」";
|
|
209
261
|
};
|
|
210
262
|
readonly 地毯式轰炸: {
|
|
211
263
|
readonly effect: 0;
|
|
212
|
-
readonly
|
|
264
|
+
readonly maxStacks: 0;
|
|
265
|
+
readonly description: "触发时移除「孤立无援」,并使自身所受伤害降低100%(免疫所有伤害)";
|
|
213
266
|
};
|
|
214
267
|
readonly 轰炸引导: {
|
|
215
268
|
readonly effect: 0;
|
|
216
|
-
readonly
|
|
269
|
+
readonly maxStacks: 0;
|
|
270
|
+
readonly description: "受击后有10%概率回复(「光影之刃」层数×50)点「能量」";
|
|
217
271
|
};
|
|
218
272
|
};
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
import { Context } from 'koishi';
|
|
2
|
-
import { BossPoolItem, BossEntity } from './boss';
|
|
2
|
+
import { PassiveEffect, BossPoolItem, BossEntity } from './boss';
|
|
3
3
|
export declare const PassiveHandler: {
|
|
4
|
+
processingResults: Array<{
|
|
5
|
+
name: string;
|
|
6
|
+
hpChange?: number;
|
|
7
|
+
energyChange?: number;
|
|
8
|
+
tagsAdd?: string[];
|
|
9
|
+
tagsRemove?: string[];
|
|
10
|
+
skillsAdd?: PassiveEffect[];
|
|
11
|
+
skillsRemove?: PassiveEffect[];
|
|
12
|
+
skillStacksChange: {
|
|
13
|
+
[skill: string]: number;
|
|
14
|
+
};
|
|
15
|
+
radiationChange?: number;
|
|
16
|
+
freezingChange?: number;
|
|
17
|
+
weaponName?: string;
|
|
18
|
+
messages?: string[];
|
|
19
|
+
}>;
|
|
4
20
|
handleFrostEvolution: (targetBoss: any, weaponName: string, damage: number, maxHP: number) => {
|
|
5
|
-
updatedHP:
|
|
21
|
+
updatedHP: any;
|
|
6
22
|
initialDamage: number;
|
|
7
23
|
messages: string[];
|
|
8
24
|
};
|
|
@@ -38,7 +54,7 @@ export declare const PassiveHandler: {
|
|
|
38
54
|
messages: string[];
|
|
39
55
|
skillUpdates: {
|
|
40
56
|
name: any;
|
|
41
|
-
remove: ("
|
|
57
|
+
remove: ("弱化形态" | "异形甲壳" | "孤立无援" | "冰霜回复" | "冰霜进化" | "冰霜环绕" | "寒霜地狱" | "应激甲壳I" | "应激甲壳II" | "求生本能I" | "求生本能II" | "冷适应" | "感染空间站" | "病毒云" | "霉菌滋生" | "岗哨机枪" | "结构装甲" | "吸血唾液" | "进食" | "嗜血狂暴" | "吐血" | "电能导体" | "超导体" | "能量虹吸" | "能源虹吸" | "电能立场" | "电能冲击波" | "脉冲" | "能量黑洞" | "火焰异形" | "庞兽狂暴" | "灼烧粘液" | "腐蚀胆汁" | "火焰吐息" | "太阳耀斑" | "燃烧潜地" | "炼狱爆弹" | "猎手异形" | "狂暴" | "伪装" | "致命一击" | "星界之风" | "心灵狂热" | "宇宙能量" | "复苏" | "光影之刃" | "远古预兆" | "闪电冲锋" | "超视距穿梭" | "灵能构造炉" | "天启超载护盾" | "塌缩脉冲" | "地毯式轰炸" | "轰炸引导")[];
|
|
42
58
|
}[];
|
|
43
59
|
};
|
|
44
60
|
handleInfectedStation: (ctx: Context, targetBoss: any) => Promise<{
|
|
@@ -105,6 +121,7 @@ export declare const PassiveHandler: {
|
|
|
105
121
|
}>;
|
|
106
122
|
handleArcWelderEffect: (ctx: Context, targetBoss: any, weaponName: string) => Promise<{
|
|
107
123
|
messages: string[];
|
|
124
|
+
arcApplied: boolean;
|
|
108
125
|
}>;
|
|
109
126
|
handleArcRifleEffect: (ctx: Context, targetBoss: any, weaponName: string, messages: string[]) => Promise<{
|
|
110
127
|
drainAmount: number;
|
|
@@ -181,6 +198,7 @@ export declare const PassiveHandler: {
|
|
|
181
198
|
}>;
|
|
182
199
|
handlePulseDisruptor: (ctx: Context, targetBoss: any, weaponName: string) => Promise<{
|
|
183
200
|
messages: string[];
|
|
201
|
+
pulseApplied: boolean;
|
|
184
202
|
}>;
|
|
185
203
|
handleStellarWind: (ctx: Context, targetBoss: any, initialDamage: number, currentHP: number, maxHP: number, activeBosses: any[], bossGroup: BossPoolItem) => Promise<{
|
|
186
204
|
messages: string[];
|
|
@@ -235,6 +253,8 @@ export declare const PassiveHandler: {
|
|
|
235
253
|
bileStacks?: undefined;
|
|
236
254
|
radiationApplied?: undefined;
|
|
237
255
|
freezing?: undefined;
|
|
256
|
+
pulseApplied?: undefined;
|
|
257
|
+
arcApplied?: undefined;
|
|
238
258
|
} | {
|
|
239
259
|
currentHP: any;
|
|
240
260
|
messages: any;
|
|
@@ -243,6 +263,8 @@ export declare const PassiveHandler: {
|
|
|
243
263
|
bileStacks: any;
|
|
244
264
|
radiationApplied?: undefined;
|
|
245
265
|
freezing?: undefined;
|
|
266
|
+
pulseApplied?: undefined;
|
|
267
|
+
arcApplied?: undefined;
|
|
246
268
|
} | {
|
|
247
269
|
currentHP: number;
|
|
248
270
|
messages: string[];
|
|
@@ -250,6 +272,8 @@ export declare const PassiveHandler: {
|
|
|
250
272
|
initialDamage: number;
|
|
251
273
|
radiationApplied: boolean;
|
|
252
274
|
freezing: boolean;
|
|
275
|
+
pulseApplied: boolean;
|
|
276
|
+
arcApplied: boolean;
|
|
253
277
|
bileStacks?: undefined;
|
|
254
278
|
}>;
|
|
255
279
|
applySkillUpdates: (ctx: Context, skillUpdates: any[]) => Promise<void>;
|