-
Member
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.
-
-
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.
-
Member
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
?