Party bonus exp/sp and party size.
Contributed by smmspider.
This commit is contained in:
@@ -76,7 +76,7 @@ public class L2Party extends AbstractPlayerGroup
|
|||||||
// @formatter:off
|
// @formatter:off
|
||||||
private static final double[] BONUS_EXP_SP =
|
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
|
// @formatter:on
|
||||||
|
|
||||||
@@ -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.<BR>
|
* Distribute Experience and SP rewards to L2PcInstance Party members in the known area of the last attacker.<BR>
|
||||||
* <BR>
|
* <BR>
|
||||||
* <B><U> Actions</U> :</B> <li>Get the L2PcInstance owner of the L2ServitorInstance (if necessary)</li> <li>Calculate the Experience and SP reward distribution rate</li> <li>Add Experience and SP to the L2PcInstance</li><BR>
|
* <B><U> Actions</U> :</B>
|
||||||
|
* <li>Get the L2PcInstance owner of the L2ServitorInstance (if necessary)</li>
|
||||||
|
* <li>Calculate the Experience and SP reward distribution rate</li>
|
||||||
|
* <li>Add Experience and SP to the L2PcInstance</li><BR>
|
||||||
* @param xpReward The Experience reward to distribute
|
* @param xpReward The Experience reward to distribute
|
||||||
* @param spReward The SP reward to distribute
|
* @param spReward The SP reward to distribute
|
||||||
* @param rewardedMembers The list of L2PcInstance to reward
|
* @param rewardedMembers The list of L2PcInstance to reward
|
||||||
|
@@ -162,7 +162,7 @@ public final class RequestJoinParty extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
requestor.sendPacket(SystemMessageId.ONLY_THE_LEADER_CAN_GIVE_OUT_INVITATIONS);
|
requestor.sendPacket(SystemMessageId.ONLY_THE_LEADER_CAN_GIVE_OUT_INVITATIONS);
|
||||||
}
|
}
|
||||||
else if (party.getMemberCount() >= 9)
|
else if (party.getMemberCount() >= 7) // 7 members for GOD version
|
||||||
{
|
{
|
||||||
requestor.sendPacket(SystemMessageId.THE_PARTY_IS_FULL);
|
requestor.sendPacket(SystemMessageId.THE_PARTY_IS_FULL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user