Lithium: Editing exp rate after lvl 200

Results 1 to 3 of 3
  1. #1
    Member divinesam is offline
    MemberRank
    May 2004 Join Date
    singaporeLocation
    97Posts

    Lithium: Editing exp rate after lvl 200

    Good afternoon all,

    I would like to ask for good advise how I can change exp rate from 10x (before lvl 200) to 2x (after lvl 200) in exiledMS source.

    Is the solution to this within maplecharacter? Or somewhere else?

    Please kindly provide some assistant! Thank you very much.


  2. #2
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Lithium: Editing exp rate after lvl 200

    To do such thing, you'd have to apply a property of experience rate for each character. Simply add the variable to MapleCharacter, call it something like "expRate". Add the get/set methods, add it in the load/save to database methods, and add it in the sql database (with default value of 10). When the player reaches 200 (look in the leveling methods) - set it to 2. Be sure to change to use it (getExpRate) instead of the server's official exp rates.

  3. #3
    Member divinesam is offline
    MemberRank
    May 2004 Join Date
    singaporeLocation
    97Posts

    Re: Lithium: Editing exp rate after lvl 200

    @Fraysa,

    within maplecharacter or maplestat, will I be able to write something like

    if char lvl >200,
    exp *= 0.2

    ?



Advertisement