From 165165c1c0f2a894adb3e12324a58a38856b0301 Mon Sep 17 00:00:00 2001
From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com>
Date: Tue, 28 Jul 2015 19:38:09 +0000
Subject: [PATCH] Party bonus exp/sp and party size. Contributed by smmspider.
---
trunk/java/com/l2jserver/gameserver/model/L2Party.java | 9 ++++++---
.../network/clientpackets/RequestJoinParty.java | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/trunk/java/com/l2jserver/gameserver/model/L2Party.java b/trunk/java/com/l2jserver/gameserver/model/L2Party.java
index 823dc5318a..850947280c 100644
--- a/trunk/java/com/l2jserver/gameserver/model/L2Party.java
+++ b/trunk/java/com/l2jserver/gameserver/model/L2Party.java
@@ -76,7 +76,7 @@ public class L2Party extends AbstractPlayerGroup
// @formatter:off
private static final double[] BONUS_EXP_SP =
{
- 1.0, 1.10, 1.20, 1.30, 1.40, 1.50, 2.0, 2.10, 2.20
+ 1.0, 1.3, 1.4, 1.5, 1.6, 1.7, 2.0, 2.10, 2.20 //1-7 party members bonus exp for ertheia
};
// @formatter:on
@@ -374,7 +374,7 @@ public class L2Party extends AbstractPlayerGroup
_positionPacket.reuse(this);
}
broadcastPacket(_positionPacket);
- }, PARTY_POSITION_BROADCAST_INTERVAL.toMillis() / 2, PARTY_POSITION_BROADCAST_INTERVAL.toMillis());
+ } , PARTY_POSITION_BROADCAST_INTERVAL.toMillis() / 2, PARTY_POSITION_BROADCAST_INTERVAL.toMillis());
}
applyTacticalSigns(player, false);
}
@@ -799,7 +799,10 @@ public class L2Party extends AbstractPlayerGroup
/**
* Distribute Experience and SP rewards to L2PcInstance Party members in the known area of the last attacker.
*
- * Actions :