Improved lootshare so that drops are awarded to clan members near a slain NPC, participation in combat is not necessary
Reconnecting in combat will no longer cause lost drops
This commit is contained in:
@@ -263,7 +263,7 @@ public final class DuelSession extends ComponentPlugin {
|
||||
Player o = getOpposite(p);
|
||||
o.getImpactHandler().setDisabledTicks(6);
|
||||
o.teleport(RandomFunction.getRandomElement(DuelArea.RESPAWN_LOCATIONS));
|
||||
boolean victory = type == 0 || type == 2 || type == 1 && p.getImpactHandler().getImpactLog().containsKey(o);
|
||||
boolean victory = type == 0 || type == 2 || type == 1 && p.getImpactHandler().getPlayerImpactLog().containsKey(o.getDetails().getUid());
|
||||
fightState = 2;
|
||||
p.removeExtension(DuelSession.class);
|
||||
end();
|
||||
|
||||
Reference in New Issue
Block a user