Alex
Created page with "local Experience = require( 'Module:Experience' ) local p = {} -- Determine the XP an action gives at a given level function p.action_xp_at_level(level, scalar, base, intercept) return base+(math.max(level-intercept,0)*scalar) end function p.xp_to_xp_actions(startingExp, targetExp, scalar, base, intercept) -- Accumulated exp starts off at whatever amount of exp the player has local accExp = startingExp local accActions = 0 -- Since the amount of exp depends on t..."