mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Alternate currency sell price now matches RoF2 client calculation
This commit is contained in:
@@ -2188,7 +2188,8 @@ void Client::Handle_OP_AdventureMerchantSell(const EQApplicationPacket *app)
|
||||
return;
|
||||
}
|
||||
|
||||
int32 price = ceil((float)item->LDoNPrice * item->LDoNSellBackRate / 100);
|
||||
// 06/11/2016 This formula matches RoF2 client side calculation.
|
||||
int32 price = (item->LDoNPrice + 1) * item->LDoNSellBackRate / 100;
|
||||
|
||||
if (price == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user