mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Alternate currency sell price now matches RoF2 client calculation
This commit is contained in:
parent
c1a6a23e06
commit
1b6974ade3
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user