Description

Experience points necessary for each level.

Usage

Parameters

  • basis {Integer|Array}

    Base value for calculing necessary EXP

    If Array : Array with the total experience required for each level

    global.game_player.makeExpList([0, 0, 25, 65, 127, 215, 337, 449, 709, 974, 1302]);
    

  • inflation {Integer}

    Percentage increase of necessary EXP

  • max_level {Integer} optional

    (optional) Maximum level. Attribute "maxLevel" by default

Returns

Array

Example

global.game_player.makeExpList(25, 30, 10);

Returns

[0, 0, 25, 65, 127, 215, 337, 499, 709, 974, 1302]

Here is the calculation :

L(n) : level B : basis I : inflation

pow = 2.4 * I / 100 L(n) = (B * ((n + 3) ^ pow) / (5 ^ pow)) + L(n-1)

Discussion