Jump to content
  • 0

Multiple Rebirth System EXP deduction.


mathea08

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  12/21/16
  • Last Seen:  

I like to mimic the rebirth system of the WaffleRO.

the feature i like to make is whenever a player gets additional rebirth count the experience he/she gained will reduce to x% base on its rebirth count.

for example if i am a player who's rebirth is 100 times my experience gain will be reduce let say by 10%...

where should i start?...

T.I.A

Edited by mathea08
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

Store the rebirth count in a permanent character variable.

Then modify the src to reduce gained EXP accordingly.

Hint: Look at pc_gainexp function in src/map/pc.c

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