Apply counter stance damage bonus when appropriate.
This helper should be used by combat damage calculation code after it has
determined whether the current stance matchup is a counter stance
(for example, via an isCounterStance check elsewhere in the system).
When isCounterStance is true, the base damage is multiplied by
COUNTER_STANCE_DAMAGE_MULTIPLIER. Non-positive damage values are
returned unchanged to avoid introducing invalid negative or zero scaling.
Parameters
baseDamage: number
The pre-modifier damage value.
isCounterStance: boolean
Whether the attacker is using a counter stance.
Returns number
The adjusted damage value with counter stance bonus applied when relevant.
Apply counter stance damage bonus when appropriate.
This helper should be used by combat damage calculation code after it has determined whether the current stance matchup is a counter stance (for example, via an
isCounterStancecheck elsewhere in the system).When
isCounterStanceistrue, the base damage is multiplied by COUNTER_STANCE_DAMAGE_MULTIPLIER. Non-positive damage values are returned unchanged to avoid introducing invalid negative or zero scaling.