Jump to content
  • 0
Sign in to follow this  
mrlongshen

Leveling set

Question

Hi all, I want to request simple item effect

 

  1. Each kill give 30% more base experience
  2. Each kill give 20% more job level experience
  3. This item have a times. For example player get the item from npc, the item can only used 7 days only, (Expired date)
  4. After player reach max level of level, 255 based and 150 job, the item remove automatically and cannot be used.

:blush:

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

1,2) you could use my mod
its outdated tho, but if you have some skills, it will be easy to you, and then you could use 2 new variables to manage player's exp. :>


3. when you give item do something like

expireDate = gettimetick(2) + (3600 * 24 * 7);


then
OnPCLoginEvent:if(expireDate <= gettimetick(2)) {	 delitem <item_id>,<amount>;	 dispbottom "Your item has expired";	 end;}


also you could use rentitem.

4)
OnPCBaseLvUp:if(BaseLevel == 255 && JobLevel == 150) delitem <item_id>,<amount>;

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

  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...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.