mangosR2 / mangos

Production (stable and testing) versions of current mangosR2 v2 server (World of Warcraft: Wrath of the Lich King, 3.3.5a client).
http://mangosr2.2x2forum.com/
GNU General Public License v2.0
175 stars 77 forks source link

Group Loot for <Green items(aka Round Robin system) #908

Open Dantes777 opened 12 years ago

Dantes777 commented 12 years ago

Good Evening. There is a problem with group looting common,uncommon items when any of the following group loot distribution is set: master looting, group looting. The problem is that when group looting is set, other items with lower rank than green should not be able for all group members to loot. It should work like this: Group of 2 people(Player A & Player B) killed 4 mobs. A should be able to loot N1 mob, B SHOULD NOT; A SHOULD NOT be able to loot N2 mob, B should be A should be able to loot N3 mob, B SHOULD NOT A SHOULD NOT be able to loot N4 mob, B should be

as you can see this is a round robin system which works always when group looting or master looting is set but here we have problem with this system and every person can loot everything.

rsa commented 12 years ago

test this: https://github.com/gc/mangos/commit/fb0a648226a34fc6897e87b039d39a07ef29a6c9

Dantes777 commented 12 years ago

Needs to be rewrited to work for mangos/mangosr2. Its their own code, so because of that, if you simply put this code, you wont compile core.

rsa commented 12 years ago

просто только кошки родятся.