EffectDef
TypeAlias of @v12-engine/engine
ts
export type EffectDef = {
[K in keyof EffectTypes]: {
type: K;
} & EffectCommon & EffectTypes[K];
}[keyof EffectTypes];One thing an ability does: its type, which picks the handler and says which fields it has (EffectTypes)