koishi-plugin-ggcevo-game 1.4.38 → 1.4.40
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 +19 -6
- package/lib/boss/attackhandling.d.ts +0 -1
- package/lib/database.d.ts +43 -43
- package/lib/index.js +416 -464
- package/lib/utils.d.ts +1 -1
- package/package.json +1 -1
package/lib/utils.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare function isSameHalfDay(a: Date, b: Date): boolean;
|
|
|
10
10
|
export declare function convertUTCtoChinaTime(input: Date | string | number): Date;
|
|
11
11
|
export declare function formatDate(d: Date): string;
|
|
12
12
|
export declare function createHpBar(current: number, max: number): string;
|
|
13
|
-
export declare function activateNextBossGroup(ctx: Context, currentBossId?: number | null): Promise<import("./database").
|
|
13
|
+
export declare function activateNextBossGroup(ctx: Context, currentBossId?: number | null): Promise<import("./database").BossInfo>;
|
|
14
14
|
export declare function calculateTotalPower(ctx: Context, config: Config, handle: string): Promise<number>;
|
|
15
15
|
export declare function applyItemEffect(ctx: Context, session: any, handle: string, itemConfig: any, target?: string): Promise<{
|
|
16
16
|
success: boolean;
|