Jump to content
  • 0

Locking Base Level to 150 for Normal Players, 160 DB Max


Axiom

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  11/04/12
  • Last Seen:  

So this is a follow up on my last thread, which I couldn't get a satisfactory answer for but I did find a good lead on what to work with.

 

    //Cap exp to the level up requirement of the previous level when you are at max level, otherwise cap at UINT_MAX (this is required for some S. Novice bonuses). [Skotlex]
    if (base_exp) {
        nextb = nextb?UINT_MAX:pc_thisbaseexp(sd);
        if(sd->status.base_exp > nextb - base_exp)
            sd->status.base_exp = nextb;
        else
            sd->status.base_exp += base_exp;
        pc_checkbaselevelup(sd);
        clif_updatestatus(sd,SP_BASEEXP);
    }
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...