growth
Stats in League of Legends do not increase linearly with champion level. Use this function to calculate the stat multiplier.
lvl
(Number): The current champion level
(Number) the stat multiplier
linear
Linear scaling function. Returns a multiplier that is 0 at level 1 and 1 at maxLevel.
maxLvl
(Number): The level at which the scaling is 1
lvl
(Number): The current level of the ability
(Number) the scaling multiplier
linear18
The scaling for abilities that max out at level 18.
lvl
(Number): The current level of the ability
(Number) the scaling multiplier
linear3
The scaling for abilities that max out at level 3.
lvl
(Number): The current level of the ability
(Number) the scaling multiplier
linear5
The scaling for abilities that max out at level 5.
lvl
(Number): The current level of the ability
(Number) the scaling multiplier