mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-26 04:23:52 +00:00
[Merchant] LDoNSellBackRate support for Rule Merchant:EnableAltCurrencySell (#2570)
This commit is contained in:
parent
99052aec8b
commit
217a6b6344
@ -2695,7 +2695,8 @@ void Client::Handle_OP_AltCurrencySell(const EQApplicationPacket *app)
|
||||
continue;
|
||||
|
||||
if (item->ID == inst->GetItem()->ID) {
|
||||
cost = ml.alt_currency_cost;
|
||||
// 06/11/2016 This formula matches RoF2 client side calculation.
|
||||
cost = (ml.alt_currency_cost + 1) * item->LDoNSellBackRate / 100;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
@ -2799,7 +2800,8 @@ void Client::Handle_OP_AltCurrencySellSelection(const EQApplicationPacket *app)
|
||||
continue;
|
||||
|
||||
if (item->ID == inst->GetItem()->ID) {
|
||||
cost = ml.alt_currency_cost;
|
||||
// 06/11/2016 This formula matches RoF2 client side calculation.
|
||||
cost = (ml.alt_currency_cost + 1) * item->LDoNSellBackRate / 100;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user