Skip to content

layValues beta ​

Function of @v12-engine/engine

ts
export declare function layValues<D>(def: D, values: DataValues): D;

A definition with values over it: a copy, the parts the values go into copied too, the rest (its functions, its lists of things) shared with the one it was made from. Values by place ({ attacks: { 0: { damagePoint: 0.5 } } }) go into the list there, or make one where there is none. Nothing of the definition given is changed