forked from MagicBane/Server
standard 1000 inventory weight && fixed XP rates 5x/10x
This commit is contained in:
@@ -2131,7 +2131,7 @@ public class CharacterItemManager {
|
||||
tradeWeight = tradeWeight + tradeCharacter.getCharItemManager().getTradingWeight();
|
||||
tradeWeight = tradeWeight - this.getTradingWeight();
|
||||
|
||||
return tradeWeight <= (int) playerCharacter.statStrBase * 3;
|
||||
return tradeWeight <= playerCharacter.getInventoryCapacity();
|
||||
}
|
||||
|
||||
public boolean hasRoomBank(short weight) {
|
||||
|
||||
@@ -2189,8 +2189,11 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
}
|
||||
|
||||
//public int getInventoryCapacity() {
|
||||
// return statStrBase * 3;
|
||||
//}
|
||||
public int getInventoryCapacity() {
|
||||
return statStrBase * 3;
|
||||
return 1000;
|
||||
}
|
||||
|
||||
public int getInventoryCapacityRemaining() {
|
||||
|
||||
Reference in New Issue
Block a user