בקובץ MapleCharacter חפשו את הפונקציה gainExp והחליפו אותה בזה:
קרדיט לVIRUS
קוד PHP:
חפשוקוד PHP:public void gainExp(int gain, boolean show, boolean inChat, boolean white) {
if (getLevel() < 200) { // lv200 is max and has 0 exp required to level
int newexp = this.exp.addAndGet(gain);
updateSingleStat(MapleStat.EXP, newexp);
}
if (show) { // still show the expgain even if it's not there
client.getSession().write(MaplePacketCreator.getShowExpGain(gain, inChat, white));
}
if (this.getExp() < 0) {
this.setExp(0);
}
if (level < 200 && exp.get() >= ExpTable.getExpNeededForLevel(level + 1)) {
levelUp();
}
}
קוד PHP:
הוסיפו מתחת:קוד PHP:public int getExp() {
return exp.get();
}
קוד PHP:
תהנוpublic void setExp(int amount) {
exp.set(amount);
}



