Cheat Engine

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Cheat Engine

The Underground Site of Cheat Engine


    [Release] Ability points when advancing

    avatar
    Admin
    Admin


    Posts : 43
    Join date : 2009-05-18

    [Release] Ability points when advancing Empty [Release] Ability points when advancing

    Post  Admin Mon May 18, 2009 11:57 am

    This is to get 5 ability points when advancing to the 3rd or 4th job.

    Open MapleCharacter.java and change
    Code:
            if (newJob.getId() % 10 == 2) {
                this.remainingSp += 2;
            }
    to
    Code:
            if (newJob.getId() % 10 == 1) {
                this.remainingAp += 5;
            } else if (newJob.getId() % 10 == 2) {
                this.remainingAp += 5;
                this.remainingSp += 2;
            }
    Add
    Code:
    updateSingleStat(MapleStat.AVAILABLEAP, this.remainingAp);
    above
    Code:
    updateSingleStat(MapleStat.AVAILABLESP, this.remainingSp);

      Current date/time is Fri Apr 26, 2024 2:20 pm