koishi-plugin-ggcevo-game 1.4.45 → 1.4.47
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 +4 -1
- package/lib/boss/attackhandling.d.ts +7 -0
- package/lib/boss/damagecalculation.d.ts +1 -4
- package/lib/database.d.ts +14 -0
- package/lib/index.js +2870 -2605
- package/lib/utils.d.ts +3 -0
- package/package.json +1 -1
package/lib/utils.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Context } from 'koishi';
|
|
2
2
|
import { Config } from './index';
|
|
3
|
+
import { PKProtection } from './database';
|
|
3
4
|
export declare function gachaWithPity(ctx: Context, handle: string): Promise<boolean>;
|
|
4
5
|
export declare function gachaWithHiddenAward(ctx: Context, handle: string): Promise<boolean>;
|
|
5
6
|
export declare function checkSensitiveWord(ctx: Context, content: string): Promise<boolean>;
|
|
@@ -20,3 +21,5 @@ export declare function handleTechUpgrade(ctx: Context, handle: string, target:
|
|
|
20
21
|
export declare function handleWeaponUpgrade(ctx: Context, handle: string, target: string): Promise<string>;
|
|
21
22
|
export declare function generateUpgradePriceList(ctx: Context, handle: string): Promise<string>;
|
|
22
23
|
export declare function getRankInfo(ctx: Context, config: Config, handle: string): Promise<string>;
|
|
24
|
+
export declare function isWithinProtection(protections: PKProtection[]): boolean;
|
|
25
|
+
export declare function formatTime(date: Date): string;
|