• 0
Saya

Double exp income at a specific level

Question

Posted (edited)

Hello there.

I'm looking for a script that should give players double experience after killing a monster, but only if the player is above a certain level and the mob killed is of the same level as the player or above.

For example: If the player is at level 80 and kills a level 81 monster, the monster will give the player double experience.

Edit: The script doesn't necessarily need to take into consideration monster's level. I'm fine if it doubles the experience if just the player is at the specified level.

Edited by Saya

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Use renewal EXP.

Then go to > D:\rathena\db\re\level_penalty.txt

Set level more than 1 and x2 EXP from monster.

Share this post


Link to post
Share on other sites
  • 0

Thanks for the reply, but the level penalty system applies to all levels. I wanted a script that would increase the exp. income only if the player is at a certain level or above.

Share this post


Link to post
Share on other sites
  • 0

I don't know best way but dump way is

OnNPCKillEvent:

//Do stuff check level, monster level then increase EXP getmonsterinfo(killedrid, MOB_BASEEXP) ( That should x2 now )

end;

 

Share this post


Link to post
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.

Loading...