Jump to content
  • 0

[HELP]Raidboss Drop


Question

Posted

Hi, i want to make RB events but i have the problem that the PT that does the most damage can only pick... I want that all can pick how can i do that?

1 answer to this question

Recommended Posts

  • 0
Posted

If you are not going to give a gloval reward, and only want to give away what rb drops, just store in a list every player who gave damage (or maybe in a map with the damange amount). So, those who at least give X damage to raid, will enter in a randomized drop away.

 

Abstract example:

L2ItemInstance rewardDrop;
List<L2PcInstance> playersWhoHitted;
L2PcInstance randomPlayer = playersWhoHitted.get(Rnd.get(playersWhoHited.size()));
randomPlayer.addItem("RB Random Drop", item, null, true);

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

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..