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

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