damageScale beta
Function of @v12-engine/engine
ts
export declare function damageScale(type: DamageType, target: Readonly<Stats>, source?: Readonly<Stats>): number;What damage is multiplied by for who deals it and who takes it, once armor or magic resist had their say and before shields: the source's outgoingDamage, and the target's incomingDamage with the part of the damage's own type (incomingMagicDamage), each side's parts added up and never below none, so that nothing turns damage into healing. The engine's formula: the game's is world.settings.combat.damageScale