withCallings beta
Function of @v12-engine/engine
ts
export declare function withCallings(rules: Rules, callings: readonly CallingDef[]): Rules;The rules with their callings in the place of what they were (callingsOf): the heroes pack's, made again with them (its own options, rules and parts kept), or the rules' heroes settings for a game without the pack. What a data.json's callings (GameData.callings) and the Data panel's Callings come to. The rules given are not changed