Custom mod support refactoring.

This commit is contained in:
GJ
2013-01-30 11:35:33 -05:00
parent 62a037a4fd
commit 852872f55c
20 changed files with 42 additions and 40 deletions

View File

@ -16,11 +16,11 @@ public class ShareHandler {
public static double partyShareRange = Config.getInstance().getPartyShareRange();
public static double partyShareBonus = Config.getInstance().getPartyShareBonus();
protected enum PartyShareType {
NO_SHARE,
RANDOM,
EQUAL,
};
// protected enum PartyShareType {
// NO_SHARE,
// RANDOM,
// EQUAL,
// };
public static double checkXpSharing(int oldExp, Player player, Party party) {
int newExp = oldExp;