Splinter of pain: It’s slowing players movement well over the 30% description sometimes below base movement speed since the code behind the calculations includes base movement speed of 100%.
Currently code probably looks something like: Total Speed = (Base Speed + Bonus Speed) * (1 - Penalty) an example at 70% bonus movement speed (1.0 + 0.70) * (1 - 0.30) = 1.70 * 0.70 = 1.17 or 117%
That’s not a 30% movement speed reduction, that’s a 73% movement speed reduction since we’re counting 100% as base.
Correct implementation would be Total Speed = Base Speed + (Bonus Speed * (1 - Penalty)) or using te previous example of 170% movement speed 1.0 + (0.70 * (1 - 0.30)) = 1.0 + (0.70 * 0.70) = 1.0 + 0.49 = 1.49 or 149% movement speed after the splinter of pain reduction.
// Define variables
float baseMovementSpeed = 1.0f; // 100% base speed float
bonusMovementSpeed = 0.70f; // 70% added from gear, skills, paragon
float itemPenalty = 0.70f; // 30% reduction penalty //
1. Calculate the reduced bonus independently
float penalizedBonus = bonusMovementSpeed * (1.0f - itemPenalty); //
2. Add the adjusted bonus back to the untouched base speed
float finalMovementSpeed = baseMovementSpeed + penalizedBonus;
// Result: 1.49f (149% movement speed)
If players have anything below the movement speed of 143% Splinter of pain will cause you move slower than base movement speed.