effectFields beta
Function of @v12-engine/engine
ts
export declare function effectFields(game: (Pick<Rules, 'effects'> & Partial<Pick<Rules, 'packs'>>) | null | undefined, type: string): EditableField[];The fields an effect of a type has, by their path in it: those its type reads (defineEffect's fields), then those every effect may have (EffectCommon). Only those every effect may have, for a type the game has not