asTotal
Calculates the total attack speed of a champion.
import { asTotal } from "@lolmath/calc";
asTotal(base, ratio, bonus, urfMode, isMelee)
Arguments
base
(Number): Base attack speedratio
(Number): Attack speed ratiobonus
(Number): Bonus attack speedurfMode
(Boolean): Is URF mode active?isMelee
(Boolean): Is the champion melee? (This is only used in URF mode)
Returns
(Number) Total attack speed