18 lines
562 B
TypeScript
18 lines
562 B
TypeScript
|
|
import type { Enemy } from './enemy.csv';
|
||
|
|
import type { Effect } from './effect.csv';
|
||
|
|
|
||
|
|
type IntentTable = readonly {
|
||
|
|
readonly enemy: Enemy;
|
||
|
|
readonly intentId: string;
|
||
|
|
readonly initialIntent: boolean;
|
||
|
|
readonly nextIntents: readonly string[];
|
||
|
|
readonly brokenIntent: readonly string[];
|
||
|
|
readonly initBuffs: readonly [Effect, readonly stacks: number];
|
||
|
|
readonly effects: readonly ["self" | "player" | "team", Effect, number];
|
||
|
|
}[];
|
||
|
|
|
||
|
|
export type Intent = IntentTable[number];
|
||
|
|
|
||
|
|
declare function getData(): IntentTable;
|
||
|
|
export default getData;
|