Skip to content

poolCosts beta ​

Function of @v12-engine/engine

ts
export declare function poolCosts(caster: Entity, ability: AbilityDef, level: number): Record<string, number> | undefined;

What an ability costs a caster of its pools now (AbilityDef.cost, grown by costGrowth), by pool: none for an ability that costs nothing of them