Skip to content

withCastLook beta ​

Function of @v12-engine/editor

ts
export declare function withCastLook(casts: Readonly<Record<string, CastLook>> | undefined, ability: string, change: Partial<CastLook>): Record<string, CastLook> | undefined;

A type's casts' looks with one ability's changed (LooksEntry.casts): the fields given over its own, undefined taking one out. Nothing where no cast says anything