Jump to content
  • 0

Leveling System


Question

Posted

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

2 answers to this question

Recommended Posts

Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...