koishi-plugin-ggcevo-game 1.4.31 → 1.4.33
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/BattleEffectProcessor.d.ts +418 -0
- package/lib/boss/attackhandling.d.ts +7 -11
- package/lib/boss/boss.d.ts +11 -177
- package/lib/boss/passive.d.ts +156 -164
- package/lib/boss/passivehandler.d.ts +52 -28
- package/lib/database.d.ts +5 -4
- package/lib/index.js +2010 -2023
- package/lib/tasks.d.ts +40 -40
- package/lib/utils.d.ts +1 -1
- package/package.json +1 -1
package/lib/boss/passive.d.ts
CHANGED
|
@@ -1,218 +1,210 @@
|
|
|
1
1
|
export declare const passiveConfig: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
弱化形态: {
|
|
3
|
+
type: string;
|
|
4
|
+
description: string;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
异形甲壳: {
|
|
7
|
+
type: string;
|
|
8
|
+
description: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
冰霜回复: {
|
|
11
|
+
type: string;
|
|
12
|
+
description: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
冰霜进化: {
|
|
15
|
+
type: string;
|
|
16
|
+
description: string;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
冰霜环绕: {
|
|
19
|
+
type: string;
|
|
20
|
+
description: string;
|
|
21
21
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
寒霜地狱: {
|
|
23
|
+
type: string;
|
|
24
|
+
description: string;
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
应激甲壳I: {
|
|
27
|
+
type: string;
|
|
28
|
+
description: string;
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
应激甲壳II: {
|
|
31
|
+
type: string;
|
|
32
|
+
description: string;
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
求生本能I: {
|
|
35
|
+
type: string;
|
|
36
|
+
description: string;
|
|
37
37
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
求生本能II: {
|
|
39
|
+
type: string;
|
|
40
|
+
description: string;
|
|
41
41
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
冷适应: {
|
|
43
|
+
type: string;
|
|
44
|
+
description: string;
|
|
45
45
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
感染空间站: {
|
|
47
|
+
type: string;
|
|
48
|
+
description: string;
|
|
49
49
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
病毒云: {
|
|
51
|
+
type: string;
|
|
52
|
+
description: string;
|
|
53
53
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
霉菌滋生: {
|
|
55
|
+
type: string;
|
|
56
|
+
description: string;
|
|
57
57
|
};
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
岗哨机枪: {
|
|
59
|
+
type: string;
|
|
60
|
+
description: string;
|
|
61
61
|
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
结构装甲: {
|
|
63
|
+
type: string;
|
|
64
|
+
description: string;
|
|
65
65
|
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
吸血唾液: {
|
|
67
|
+
type: string;
|
|
68
|
+
description: string;
|
|
69
69
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
进食: {
|
|
71
|
+
type: string;
|
|
72
|
+
description: string;
|
|
73
73
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
嗜血狂暴: {
|
|
75
|
+
type: string;
|
|
76
|
+
description: string;
|
|
77
77
|
};
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
吐血: {
|
|
79
|
+
type: string;
|
|
80
|
+
description: string;
|
|
81
81
|
};
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
超导体: {
|
|
83
|
+
type: string;
|
|
84
|
+
description: string;
|
|
85
85
|
};
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
能量虹吸: {
|
|
87
|
+
type: string;
|
|
88
|
+
description: string;
|
|
89
89
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
能源虹吸: {
|
|
91
|
+
type: string;
|
|
92
|
+
description: string;
|
|
93
93
|
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
电能立场: {
|
|
95
|
+
type: string;
|
|
96
|
+
description: string;
|
|
97
97
|
};
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
电能冲击波: {
|
|
99
|
+
type: string;
|
|
100
|
+
description: string;
|
|
101
101
|
};
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
脉冲: {
|
|
103
|
+
type: string;
|
|
104
|
+
description: string;
|
|
105
105
|
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
能量黑洞: {
|
|
107
|
+
type: string;
|
|
108
|
+
description: string;
|
|
109
109
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
火焰异形: {
|
|
111
|
+
type: string;
|
|
112
|
+
description: string;
|
|
113
113
|
};
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
庞兽狂暴: {
|
|
115
|
+
type: string;
|
|
116
|
+
description: string;
|
|
117
117
|
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
灼烧粘液: {
|
|
119
|
+
type: string;
|
|
120
|
+
description: string;
|
|
121
121
|
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
腐蚀胆汁: {
|
|
123
|
+
type: string;
|
|
124
|
+
description: string;
|
|
125
125
|
};
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
火焰吐息: {
|
|
127
|
+
type: string;
|
|
128
|
+
description: string;
|
|
129
129
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
太阳耀斑: {
|
|
131
|
+
type: string;
|
|
132
|
+
description: string;
|
|
133
133
|
};
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
燃烧潜地: {
|
|
135
|
+
type: string;
|
|
136
|
+
description: string;
|
|
137
137
|
};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
炼狱爆弹: {
|
|
139
|
+
type: string;
|
|
140
|
+
description: string;
|
|
141
141
|
};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
猎手异形: {
|
|
143
|
+
type: string;
|
|
144
|
+
description: string;
|
|
145
145
|
};
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
狂暴: {
|
|
147
|
+
type: string;
|
|
148
|
+
description: string;
|
|
149
149
|
};
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
伪装: {
|
|
151
|
+
type: string;
|
|
152
|
+
description: string;
|
|
153
153
|
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
致命一击: {
|
|
155
|
+
type: string;
|
|
156
|
+
description: string;
|
|
157
157
|
};
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
星界之风: {
|
|
159
|
+
type: string;
|
|
160
|
+
description: string;
|
|
161
161
|
};
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
心灵狂热: {
|
|
163
|
+
type: string;
|
|
164
|
+
description: string;
|
|
165
165
|
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
宇宙能量: {
|
|
167
|
+
type: string;
|
|
168
|
+
description: string;
|
|
169
169
|
};
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
复苏: {
|
|
171
|
+
type: string;
|
|
172
|
+
description: string;
|
|
173
173
|
};
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
光影之刃: {
|
|
175
|
+
type: string;
|
|
176
|
+
description: string;
|
|
177
177
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
远古预兆: {
|
|
179
|
+
type: string;
|
|
180
|
+
description: string;
|
|
181
181
|
};
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
182
|
+
闪电冲锋: {
|
|
183
|
+
type: string;
|
|
184
|
+
description: string;
|
|
185
185
|
};
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
超视距穿梭: {
|
|
187
|
+
type: string;
|
|
188
|
+
description: string;
|
|
189
189
|
};
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
灵能构造炉: {
|
|
191
|
+
type: string;
|
|
192
|
+
description: string;
|
|
193
193
|
};
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
194
|
+
天启超载护盾: {
|
|
195
|
+
type: string;
|
|
196
|
+
description: string;
|
|
197
197
|
};
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
塌缩脉冲: {
|
|
199
|
+
type: string;
|
|
200
|
+
description: string;
|
|
201
201
|
};
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
地毯式轰炸: {
|
|
203
|
+
type: string;
|
|
204
|
+
description: string;
|
|
205
205
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
};
|
|
210
|
-
readonly 地毯式轰炸: {
|
|
211
|
-
readonly effect: 0;
|
|
212
|
-
readonly description: "我心中的怒火胜过千万个太阳!移除自身的“孤立无援”,并使受到的伤害-100%";
|
|
213
|
-
};
|
|
214
|
-
readonly 轰炸引导: {
|
|
215
|
-
readonly effect: 0;
|
|
216
|
-
readonly description: "受到伤害后,有10%的概率概率回复自身X点“能量”(X为“光影之刃”层数 x 50)";
|
|
206
|
+
轰炸引导: {
|
|
207
|
+
type: string;
|
|
208
|
+
description: string;
|
|
217
209
|
};
|
|
218
210
|
};
|
|
@@ -1,10 +1,43 @@
|
|
|
1
1
|
import { Context } from 'koishi';
|
|
2
|
-
|
|
2
|
+
interface BattleStatistics {
|
|
3
|
+
name: string;
|
|
4
|
+
hpChange: number;
|
|
5
|
+
energyChange: number;
|
|
6
|
+
tagsAdded: string[];
|
|
7
|
+
tagsRemoved: string[];
|
|
8
|
+
skillsAdded: string[];
|
|
9
|
+
skillsRemoved: string[];
|
|
10
|
+
skillStacksChanged: number;
|
|
11
|
+
radiationLayersChange: number;
|
|
12
|
+
coldLayersChange: number;
|
|
13
|
+
lastWeaponName: string;
|
|
14
|
+
}
|
|
3
15
|
export declare const PassiveHandler: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
16
|
+
handleWeakForm: (targetBoss: any, buffMultiplier: number) => {
|
|
17
|
+
buffMultiplier: number;
|
|
18
|
+
messages: string[];
|
|
19
|
+
};
|
|
20
|
+
handleAlienShell: (targetBoss: any, nerfMultiplier: number) => {
|
|
21
|
+
nerfMultiplier: number;
|
|
22
|
+
messages: string[];
|
|
23
|
+
};
|
|
24
|
+
handleIsolated: (targetBoss: any, activeBosses: any[], buffMultiplier: number) => {
|
|
25
|
+
buffMultiplier: number;
|
|
26
|
+
messages: string[];
|
|
27
|
+
};
|
|
28
|
+
handleFrostRegeneration: (targetBoss: any, activeBosses: any[]) => {
|
|
29
|
+
updatedTargetStats?: BattleStatistics;
|
|
30
|
+
updatedOtherStats: BattleStatistics[];
|
|
31
|
+
messages: string[];
|
|
32
|
+
};
|
|
33
|
+
handleFrostAura: (targetBoss: any, activeBosses: any[]) => {
|
|
34
|
+
updatedTargetStats?: BattleStatistics;
|
|
35
|
+
messages: string[];
|
|
36
|
+
};
|
|
37
|
+
handleFrostEvolution: (targetBoss: any, weaponName: string, activeBosses: any[]) => {
|
|
38
|
+
isImmune: boolean;
|
|
7
39
|
messages: string[];
|
|
40
|
+
updatedStats?: BattleStatistics;
|
|
8
41
|
};
|
|
9
42
|
handleFrostSurround: (ctx: Context, targetBoss: any, currentHP: number, maxHP: number) => Promise<{
|
|
10
43
|
updatedHP: number;
|
|
@@ -38,7 +71,7 @@ export declare const PassiveHandler: {
|
|
|
38
71
|
messages: string[];
|
|
39
72
|
skillUpdates: {
|
|
40
73
|
name: any;
|
|
41
|
-
remove:
|
|
74
|
+
remove: string[];
|
|
42
75
|
}[];
|
|
43
76
|
};
|
|
44
77
|
handleInfectedStation: (ctx: Context, targetBoss: any) => Promise<{
|
|
@@ -74,7 +107,7 @@ export declare const PassiveHandler: {
|
|
|
74
107
|
};
|
|
75
108
|
handleColdEffect: (ctx: Context, targetBoss: any, weaponName: string) => Promise<{
|
|
76
109
|
messages: string[];
|
|
77
|
-
|
|
110
|
+
coldLayers: boolean;
|
|
78
111
|
}>;
|
|
79
112
|
calculateColdDamage: (targetBoss: any) => {
|
|
80
113
|
damageMultiplier: number;
|
|
@@ -98,8 +131,8 @@ export declare const PassiveHandler: {
|
|
|
98
131
|
immune: boolean;
|
|
99
132
|
messages: string[];
|
|
100
133
|
}>;
|
|
101
|
-
getMemberConfig: (name: string, bossGroup:
|
|
102
|
-
handlePulse: (ctx: Context, targetBoss: any, activeBosses: any[], bossGroup:
|
|
134
|
+
getMemberConfig: (name: string, bossGroup: any) => any;
|
|
135
|
+
handlePulse: (ctx: Context, targetBoss: any, activeBosses: any[], bossGroup: any, currentHP: number) => Promise<{
|
|
103
136
|
newHP: number;
|
|
104
137
|
messages: string[];
|
|
105
138
|
}>;
|
|
@@ -121,22 +154,22 @@ export declare const PassiveHandler: {
|
|
|
121
154
|
immune: boolean;
|
|
122
155
|
messages: string[];
|
|
123
156
|
}>;
|
|
124
|
-
getMemberMaxHP: (name: string, bossGroup:
|
|
125
|
-
handleCorrosiveBile: (ctx: Context, targetBoss: any, bossGroup:
|
|
157
|
+
getMemberMaxHP: (name: string, bossGroup: any) => any;
|
|
158
|
+
handleCorrosiveBile: (ctx: Context, targetBoss: any, bossGroup: any, currentHP: number) => Promise<{
|
|
126
159
|
messages: string[];
|
|
127
160
|
currentHP: number;
|
|
128
161
|
}>;
|
|
129
|
-
handleFireBreath: (ctx: Context, targetBoss: any, bossGroup:
|
|
162
|
+
handleFireBreath: (ctx: Context, targetBoss: any, bossGroup: any, currentHP: number) => Promise<{
|
|
130
163
|
messages: string[];
|
|
131
164
|
currentHP: number;
|
|
132
165
|
}>;
|
|
133
|
-
handleFireEvolution: (ctx: Context, targetBoss: any, weaponName: string, initialDamage: number, bossGroup:
|
|
166
|
+
handleFireEvolution: (ctx: Context, targetBoss: any, weaponName: string, initialDamage: number, bossGroup: any) => Promise<{
|
|
134
167
|
updatedHP: number;
|
|
135
168
|
initialDamage: number;
|
|
136
169
|
messages: string[];
|
|
137
170
|
bileStacks: any;
|
|
138
171
|
}>;
|
|
139
|
-
handleBileIgnition: (ctx: Context, targetBoss: any, bossGroup:
|
|
172
|
+
handleBileIgnition: (ctx: Context, targetBoss: any, bossGroup: any, updatedHP: number) => Promise<{
|
|
140
173
|
messages: string[];
|
|
141
174
|
newHP: number;
|
|
142
175
|
bileStacks: any;
|
|
@@ -184,7 +217,7 @@ export declare const PassiveHandler: {
|
|
|
184
217
|
messages: string[];
|
|
185
218
|
pulseApplied: boolean;
|
|
186
219
|
}>;
|
|
187
|
-
handleStellarWind: (ctx: Context, targetBoss: any, initialDamage: number, currentHP: number, maxHP: number, activeBosses: any[], bossGroup:
|
|
220
|
+
handleStellarWind: (ctx: Context, targetBoss: any, initialDamage: number, currentHP: number, maxHP: number, activeBosses: any[], bossGroup: any) => Promise<{
|
|
188
221
|
messages: string[];
|
|
189
222
|
updatedHP: number;
|
|
190
223
|
}>;
|
|
@@ -215,7 +248,7 @@ export declare const PassiveHandler: {
|
|
|
215
248
|
handleConstructor: (ctx: Context, targetBoss: any) => Promise<{
|
|
216
249
|
messages: string[];
|
|
217
250
|
}>;
|
|
218
|
-
handleTyrsShield: (ctx: Context, targetBoss: any, currentHP: number, activeBosses: any[], bossGroup:
|
|
251
|
+
handleTyrsShield: (ctx: Context, targetBoss: any, currentHP: number, activeBosses: any[], bossGroup: any) => Promise<{
|
|
219
252
|
messages: string[];
|
|
220
253
|
updatedHP: number;
|
|
221
254
|
}>;
|
|
@@ -236,7 +269,7 @@ export declare const PassiveHandler: {
|
|
|
236
269
|
initialDamage: number;
|
|
237
270
|
bileStacks?: undefined;
|
|
238
271
|
radiationApplied?: undefined;
|
|
239
|
-
|
|
272
|
+
coldLayers?: undefined;
|
|
240
273
|
pulseApplied?: undefined;
|
|
241
274
|
arcApplied?: undefined;
|
|
242
275
|
} | {
|
|
@@ -246,17 +279,7 @@ export declare const PassiveHandler: {
|
|
|
246
279
|
initialDamage: any;
|
|
247
280
|
bileStacks: any;
|
|
248
281
|
radiationApplied?: undefined;
|
|
249
|
-
|
|
250
|
-
pulseApplied?: undefined;
|
|
251
|
-
arcApplied?: undefined;
|
|
252
|
-
} | {
|
|
253
|
-
currentHP: number;
|
|
254
|
-
messages: string[];
|
|
255
|
-
skillUpdates: any[];
|
|
256
|
-
initialDamage: number;
|
|
257
|
-
radiationApplied: boolean;
|
|
258
|
-
freezing: boolean;
|
|
259
|
-
bileStacks?: undefined;
|
|
282
|
+
coldLayers?: undefined;
|
|
260
283
|
pulseApplied?: undefined;
|
|
261
284
|
arcApplied?: undefined;
|
|
262
285
|
} | {
|
|
@@ -265,10 +288,11 @@ export declare const PassiveHandler: {
|
|
|
265
288
|
skillUpdates: any[];
|
|
266
289
|
initialDamage: number;
|
|
267
290
|
radiationApplied: boolean;
|
|
268
|
-
|
|
291
|
+
coldLayers: boolean;
|
|
269
292
|
pulseApplied: boolean;
|
|
270
293
|
arcApplied: boolean;
|
|
271
294
|
bileStacks?: undefined;
|
|
272
295
|
}>;
|
|
273
296
|
applySkillUpdates: (ctx: Context, skillUpdates: any[]) => Promise<void>;
|
|
274
297
|
};
|
|
298
|
+
export {};
|
package/lib/database.d.ts
CHANGED
|
@@ -123,16 +123,17 @@ export interface equipment {
|
|
|
123
123
|
}
|
|
124
124
|
export interface Boss {
|
|
125
125
|
name: string;
|
|
126
|
+
groupId: number;
|
|
126
127
|
type: string;
|
|
127
128
|
HP: number;
|
|
128
129
|
tags: string[];
|
|
129
130
|
skills: string[];
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
skillStacks: number;
|
|
132
|
+
statusLayers: number;
|
|
133
|
+
radiationLayers: number;
|
|
134
|
+
coldLayers: number;
|
|
133
135
|
energy: number;
|
|
134
136
|
lastWeaponName: string;
|
|
135
|
-
groupId: number;
|
|
136
137
|
isActive: boolean;
|
|
137
138
|
respawnTime: Date;
|
|
138
139
|
}
|