must be in safezone to gain level up gold
This commit is contained in:
1 parent
d6fa7dba9d
commit
3b5c0e6210
1 file changed
+1
-1
@@ -3084,7 +3084,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
checkGuildStatus();
|
||||
|
||||
//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) );
|
||||
this.charItemManager.addGoldToInventory(gold, false);
|
||||
this.charItemManager.updateInventory();
|
||||
|
||||
Reference in new issue
Block a user