Module:Sandbox/User:Microbrews/Skilling success chart: Difference between revisions

Jump to navigation Jump to search
Created page with "local chart = require( 'Module:Chart data' ) local p = {} function interp(low, high, level) local value = math.floor(low*(99-level)/98 + high*(level-1)/98 + 0.5) + 1 return math.min(math.max(value / 256, 0), 1) end function oldInterp(low, high, level) local value = math.modf(low*(99-level)/98) + math.modf(high*(level-1)/98) + 1 return math.min(math.max(value / 256, 0), 1) end function bonusInterp(low, high, bonuslow, bonushigh, level) local value = interp(low,..."
(Created page with "local chart = require( 'Module:Chart data' ) local p = {} function interp(low, high, level) local value = math.floor(low*(99-level)/98 + high*(level-1)/98 + 0.5) + 1 return math.min(math.max(value / 256, 0), 1) end function oldInterp(low, high, level) local value = math.modf(low*(99-level)/98) + math.modf(high*(level-1)/98) + 1 return math.min(math.max(value / 256, 0), 1) end function bonusInterp(low, high, bonuslow, bonushigh, level) local value = interp(low,...")
(No difference)

Navigation menu