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

In my pack i have got stat called "DropMultiplier", if you don't have it then you will need to edit the core.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock