Skip to content

[HELP]Raidboss Drop

Featured Replies

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?

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

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.