2026-04-17 01:21:27 +08:00
|
|
|
import type { Enemy } from './enemy.csv';
|
|
|
|
|
import type { Effect } from './effect.csv';
|
|
|
|
|
|
|
|
|
|
type EncounterTable = readonly {
|
|
|
|
|
readonly id: string;
|
|
|
|
|
readonly type: "minion" | "elite" | "event" | "shop" | "camp" | "curio";
|
|
|
|
|
readonly name: string;
|
|
|
|
|
readonly description: string;
|
2026-04-17 15:14:01 +08:00
|
|
|
readonly enemies: [data: Enemy, hp: number, effects: [effect: Effect, stacks: number][]][];
|
2026-04-17 01:21:27 +08:00
|
|
|
readonly dialogue: string;
|
|
|
|
|
}[];
|
|
|
|
|
|
|
|
|
|
export type Encounter = EncounterTable[number];
|
|
|
|
|
|
|
|
|
|
declare function getData(): EncounterTable;
|
|
|
|
|
export default getData;
|