--Diminishing-returns method of scaling combat stats, observing this rule: the first twenty ranks cost 1 point each, the second twenty cost two each, and so on. This is much, much better for players than some logarithmic mess, since they always know exactly what's going on, and there are nice breakpoints to strive for.
-- raw_combat_stat_value = the value being rescaled
-- interval = ranks until cost of each effective stat value increases (default 20)
-- step = increase in cost of raw_combat_stat_value to give 1 effective stat value each rank (default 1)
-- step = increase in cost of raw_combat_stat_value to give 1 effective stat value each interval (default 1)
localstatmod=self:rescaleCombatStats(totstat,30,0.5)-- totstat tends to be lower than values of powers and saves so default interval and step size is too harsh; instead use wider intervals and 0.5 step size
localstatmod=self:rescaleCombatStats(totstat,36,1/3)-- totstat tends to be lower than values of powers and saves so default interval and step size is too harsh; instead use wider intervals and 1/3 step size