Apply out-of-sign penalty to strength.
Original strength (0-100)
Whether the aspect is out-of-sign
Penalty factor (0-1), e.g., 0.2 = 20% reduction
Adjusted strength
Out-of-sign aspects are traditionally considered weaker. This function applies a configurable penalty.
Formula: adjustedStrength = strength × (1 - penalty) if out-of-sign
applyOutOfSignPenalty(80, false, 0.2) // 80 (no penalty)applyOutOfSignPenalty(80, true, 0.2) // 64 (20% reduction)applyOutOfSignPenalty(80, true, 0) // 80 (no penalty configured) Copy
applyOutOfSignPenalty(80, false, 0.2) // 80 (no penalty)applyOutOfSignPenalty(80, true, 0.2) // 64 (20% reduction)applyOutOfSignPenalty(80, true, 0) // 80 (no penalty configured)
Apply out-of-sign penalty to strength.