Jump to content
  • 0

Double exp income at a specific level


Saya

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   1
  • Joined:  03/02/19
  • Last Seen:  

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
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

Use renewal EXP.

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

Set level more than 1 and x2 EXP from monster.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   1
  • Joined:  03/02/19
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

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;

 

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