Replacements for using minimal and maximal words.
This commit is contained in:
@@ -725,7 +725,7 @@ AutoLootSlotLimit = True
|
||||
# Default: 900 (15min)
|
||||
RaidLootRightsInterval = 900
|
||||
|
||||
# Minimal size of Command Channel for apply raid loot privilege
|
||||
# Minimum size of Command Channel for apply raid loot privilege
|
||||
# Default: 45
|
||||
RaidLootRightsCCSize = 45
|
||||
|
||||
|
||||
@@ -12,11 +12,11 @@ MpCostMultipler = 1
|
||||
# Payment for Sell Buff System, can be changed to custom server coin
|
||||
PaymentID = 57
|
||||
|
||||
# Minimal price of every buff
|
||||
MinimalPrice = 100000
|
||||
# Minimum price of every buff
|
||||
MinimumPrice = 100000
|
||||
|
||||
# Maximal price of every buff
|
||||
MaximalPrice = 100000000
|
||||
# Maximum price of every buff
|
||||
MaximumPrice = 100000000
|
||||
|
||||
# Maximum count of buffs in sell list
|
||||
MaxBuffs = 20
|
||||
|
||||
@@ -548,7 +548,7 @@ AltItemAuctionTimeExtendsOnBid = 0
|
||||
# Dimension Rift
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Minimal party size to enter rift. Min = 2, Max = 9.
|
||||
# Minimum party size to enter rift. Min = 2, Max = 9.
|
||||
# If while inside the rift, the party becomes smaller, all members will be teleported back.
|
||||
# Default: 2
|
||||
RiftMinPartySize = 2
|
||||
|
||||
@@ -200,7 +200,7 @@ public class SellBuff implements IVoicedCommandHandler, IBypassHandler
|
||||
}
|
||||
catch (NumberFormatException e)
|
||||
{
|
||||
player.sendMessage("Too big price! Maximal price is " + Config.SELLBUFF_MAX_PRICE);
|
||||
player.sendMessage("Too big price! Maximum price is " + Config.SELLBUFF_MAX_PRICE);
|
||||
SellBuffsManager.getInstance().sendBuffEditMenu(player);
|
||||
}
|
||||
}
|
||||
@@ -281,7 +281,7 @@ public class SellBuff implements IVoicedCommandHandler, IBypassHandler
|
||||
}
|
||||
catch (NumberFormatException e)
|
||||
{
|
||||
player.sendMessage("Too big price! Maximal price is " + Config.SELLBUFF_MIN_PRICE);
|
||||
player.sendMessage("Too big price! Maximum price is " + Config.SELLBUFF_MIN_PRICE);
|
||||
SellBuffsManager.getInstance().sendBuffEditMenu(player);
|
||||
}
|
||||
}
|
||||
@@ -298,12 +298,12 @@ public class SellBuff implements IVoicedCommandHandler, IBypassHandler
|
||||
}
|
||||
else if (price < Config.SELLBUFF_MIN_PRICE)
|
||||
{
|
||||
player.sendMessage("Too small price! Minimal price is " + Config.SELLBUFF_MIN_PRICE);
|
||||
player.sendMessage("Too small price! Minimum price is " + Config.SELLBUFF_MIN_PRICE);
|
||||
return false;
|
||||
}
|
||||
else if (price > Config.SELLBUFF_MAX_PRICE)
|
||||
{
|
||||
player.sendMessage("Too big price! Maximal price is " + Config.SELLBUFF_MAX_PRICE);
|
||||
player.sendMessage("Too big price! Maximum price is " + Config.SELLBUFF_MAX_PRICE);
|
||||
return false;
|
||||
}
|
||||
else if (player.getSellingBuffs().size() >= Config.SELLBUFF_MAX_BUFFS)
|
||||
|
||||
@@ -2905,8 +2905,8 @@ public class Config
|
||||
SELLBUFF_ENABLED = sellBuffConfig.getBoolean("SellBuffEnable", false);
|
||||
SELLBUFF_MP_MULTIPLER = sellBuffConfig.getInt("MpCostMultipler", 1);
|
||||
SELLBUFF_PAYMENT_ID = sellBuffConfig.getInt("PaymentID", 57);
|
||||
SELLBUFF_MIN_PRICE = sellBuffConfig.getLong("MinimalPrice", 100000);
|
||||
SELLBUFF_MAX_PRICE = sellBuffConfig.getLong("MaximalPrice", 100000000);
|
||||
SELLBUFF_MIN_PRICE = sellBuffConfig.getLong("MinimumPrice", 100000);
|
||||
SELLBUFF_MAX_PRICE = sellBuffConfig.getLong("MaximumPrice", 100000000);
|
||||
SELLBUFF_MAX_BUFFS = sellBuffConfig.getInt("MaxBuffs", 15);
|
||||
|
||||
// Load ServerTime config file (if exists)
|
||||
|
||||
@@ -138,7 +138,7 @@ public class GeoEngine
|
||||
|
||||
/**
|
||||
* Provides optimize selection of the buffer. When all pre-initialized buffer are locked, creates new buffer and log this situation.
|
||||
* @param size : pre-calculated minimal required size
|
||||
* @param size : pre-calculated minimum required size
|
||||
* @return NodeBuffer : buffer
|
||||
*/
|
||||
private NodeBuffer getBuffer(int size)
|
||||
|
||||
Reference in New Issue
Block a user