|
|
@ -3084,7 +3084,7 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
checkGuildStatus(); |
|
|
|
checkGuildStatus(); |
|
|
|
|
|
|
|
|
|
|
|
//give gold for level up if level is under or equal to 20 and over 10
|
|
|
|
//give gold for level up if level is under or equal to 20 and over 10
|
|
|
|
if(!this.isBoxed && this.level > 10 && this.level <= 20) { |
|
|
|
if(!this.isBoxed && this.level > 10 && this.level <= 20 && this.safeZone) { |
|
|
|
int gold = (int) ((100000 * (this.level - 10) / 55.0) ); |
|
|
|
int gold = (int) ((100000 * (this.level - 10) / 55.0) ); |
|
|
|
this.charItemManager.addGoldToInventory(gold, false); |
|
|
|
this.charItemManager.addGoldToInventory(gold, false); |
|
|
|
this.charItemManager.updateInventory(); |
|
|
|
this.charItemManager.updateInventory(); |
|
|
|