Jump to content
  • 0

Leveling System


kemids18

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  01/20/12
  • Last Seen:  

Hi Rathena.

 

can i request a script something like it will make characters

stop gaining exp from monsters when they reach level 90

can only gain experience from doing quests until they reach max level for their current job ex. assassin max level 99

 

i think i saw something like this on ea about 2 years ago but i want to apply on rathena latest version

 

hope you help me out thank u so much /no1

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   33
  • Joined:  12/24/11
  • Last Seen:  

Can't give you a diff because I work on a project and don't want to create a new branch, but here is what you do:

In ./src/map/mob.c look for the mob_dead function

if (map[m].flag.nobaseexp || !md->db->base_exp)
base_exp = 0;

And change it to the following:

if (map[m].flag.nobaseexp || !md->db->base_exp || tmpsd[i]->status.base_level >= 90)
base_exp = 0;
Edited by Jonne
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  01/20/12
  • Last Seen:  

thank you!  /no1  works well

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