Jump to content
  • 0

Locking Levels


Axiom

Question


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

Hi, 

 

I just updated my SVN up to where the max base level is 160 over how I set it to 150. Not a problem, really. I plan on letting players get to 160 but I was hoping it would only be doable via a quest. I tried deleting excess values on the EXP table so it only reached 150 but that didn't seem to work (or I may have counted wrong). Is there a specific way of doing this?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  106
  • Reputation:   3
  • Joined:  01/01/12
  • Last Seen:  

find in pc.c function pc_gainexp and after

    if(!battle_config.pvp_exp && map[sd->bl.m].flag.pvp)  // [MouseJstr]
        return 0; // no exp on pvp maps

 

Type in

if(sd->status.base_level >= 150)
       return 0;

 

Recompile and you're done. You can't receive exp if your level is equal or more than 150.

Link to comment
Share on other sites


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

It seems to be preventing players from receiving job exp as well. This might be a problem, for if ever they max out their base before maxing out job. Is there another method?

 

Oh, and quest EXP is still rewardable, making it possible for players to do other EXP quests to just grind to 160. What I had in mind was there be only one quest that gets you to 160, and it just jumps you straight to it from 150.

Edited by Axiom
Link to comment
Share on other sites

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