Minimum range for private stores.

This commit is contained in:
mobius
2015-01-02 11:43:45 +00:00
parent 45e2a035cd
commit ffc1c885bc
9 changed files with 138 additions and 0 deletions

View File

@ -812,6 +812,8 @@ public final class Config
public static int MOB_MIN_SPAWN_RANGE;
public static int MOB_MAX_SPAWN_RANGE;
public static List<Integer> MOBS_LIST_NOT_RANDOM;
public static int SHOP_MIN_RANGE_FROM_NPC;
public static int SHOP_MIN_RANGE_FROM_PLAYER;
// --------------------------------------------------
// NPC Settings
@ -2594,6 +2596,9 @@ public final class Config
}
}
SHOP_MIN_RANGE_FROM_PLAYER = CustomSettings.getInt("ShopMinRangeFromPlayer", 50);
SHOP_MIN_RANGE_FROM_NPC = CustomSettings.getInt("ShopMinRangeFromNpc", 100);
// Load PvP L2Properties file (if exists)
final PropertiesParser PVPSettings = new PropertiesParser(PVP_CONFIG_FILE);