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

no edit summary
(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 edit summary
 
Line 199:
:setTooltipFormat( 'skillingSuccess' )
else
plot:setYLimits( nil0, nil, (tonumber(args.ystep) or 5))
:setTooltipFormat( 'harvestLives' )
end