Jump to content
  • 0

2X Rates For Donators


Question

Posted (edited)

Hi, i want to make 2x Drop , Spoil , XP , SP For Players who will buy Specific  Item From GM shop for custom time. can you guys give me some kind of script or guide how to do it ? For L2j Hi5 pack 

Edited by GrenD731

7 answers to this question

Recommended Posts

  • 0
Posted

Find the code responsible for the rate and make a check

 

 

if (player.isVip())
   exp = blabla
else
   exp = default

 

You got the point. Or instead of isVip() check for the item, player.getInventory().getItemByItemId()... blabla :D

  • 0
Posted

you can add a check if player has an item id in hes inventory on enterworld clientpacket to change the rate = x2 or whatever

else you have to add it on the effect of this item you have so if its mana item the rate will stop when the item vanishes.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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