applyDamage: {
configPartial: string;
execute: (outcome: any, context: any) => Promise<void>;
resolveConfigs: (cfg: any) => { allowedTypes: any; key: string }[] | null;
resultFields: { fields: string[]; subKeyField: string };
}
Type Declaration
-
configPartial: string
-
execute: (outcome: any, context: any) => Promise<void>
-
resolveConfigs: (cfg: any) => { allowedTypes: any; key: string }[] | null
-
resultFields: { fields: string[]; subKeyField: string }
Apply damage to the target actor (or owner if no target). Config: { type, amount, layer }