clampDefensiveReduction

public static double clampDefensiveReduction(double reduction)

Clamps a defensive damage reduction into the safe [0, MAX_DEFENSIVE_REDUCTION] range.

Return

The clamped reduction, never negative and never above the shared ceiling

Parameters

reduction

The raw reduction (0.0 to 1.0)