Skip to content

healthPerMana beta ​

Function of @v12-engine/engine

ts
export declare function healthPerMana(world: World, entity: Entity): number;

What a unit pays its abilities' mana costs with in health, for each point of mana, by the buffs it carries (BuffDef.paysWithHealth): the highest of them; 0 where it pays with mana