burnMana beta
Function of @v12-engine/engine
ts
export declare function burnMana(world: World, target: Entity, amount: number, source?: Entity, options?: BurnOptions): number;Takes up to amount of a unit's mana and hurts it by as much as it took (times ratio), from source: what the manaBurn effect does, for a game's own rules. Gives back the mana it took: none of a unit that has none, and no damage then