mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-13 09:17:21 +00:00
Updated pricing formula for cloth trade goods
This commit is contained in:
@@ -138,8 +138,9 @@ void AuctionHouseBot::calculateItemValue(ItemTemplate const* itemProto, uint64&
|
||||
switch (itemProto->SubClass)
|
||||
{
|
||||
case ITEM_SUBCLASS_CLOTH:
|
||||
{
|
||||
subclassPriceMultiplier = std::pow(1.1,(itemProto->ItemLevel/3.5)) - (itemProto->ItemLevel/50.0);
|
||||
{
|
||||
double clothMultiplierHelper = std::log(1.0 + (itemProto->ItemLevel));
|
||||
subclassPriceMultiplier = ((std::pow(clothMultiplierHelper,2.0)) / (1 + (0.8 * clothMultiplierHelper))) + (0.001 * std::pow(clothMultiplierHelper,3.5)) - 0.3;
|
||||
break;
|
||||
}
|
||||
case ITEM_SUBCLASS_HERB:
|
||||
|
||||
Reference in New Issue
Block a user