Jump to content
  • 0

Question

Posted

Hello guys ,im searching for this code but i cant find ,i cannot create it either ,i have no idea where to start

 

So basically ,classes like BISHOP/EE and all other assist classes will get reward if party dps make kills (each kill is made ,the assist will get the reward too or should i say ,a part of it)

 

Lets begin with multifunction ,on L2PcInstance is something like this

 

L2MultiFunctionZone.givereward(this);

 

 

and inside this ,the code is something like this:

 

public static void givereward(L2PcInstance player)

+       {
+               if (player.isInsideZone(ZoneId.MULTI_FUNCTION))
+               {
+                       for (int[] reward : rewards)
+                       {
+                               PcInventory inv = player.getInventory();
+                               inv.addItem("Custom Reward", reward[0], reward[1], player, player);
+                       }
+               }
+       }

 

Any idea perhaps?

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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