Jump to content
  • 0

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

3 answers to this question

Recommended Posts

  • 0
Posted

Use renewal EXP.

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

Set level more than 1 and x2 EXP from monster.

  • 0
Posted

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.

  • 0
Posted

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;

 

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