Party bonus exp/sp and party size.

Contributed by smmspider.
This commit is contained in:
MobiusDev
2015-07-28 19:38:09 +00:00
parent 428f516b1f
commit 165165c1c0
2 changed files with 7 additions and 4 deletions

View File

@ -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.<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 spReward The SP reward to distribute
* @param rewardedMembers The list of L2PcInstance to reward