Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp
- index f3d5719..72ea8d5 100644
- --- a/src/server/game/Entities/Player/Player.cpp
- +++ b/src/server/game/Entities/Player/Player.cpp
- @@ -20641,10 +20620,17 @@ bool Player::BuyItemFromVendorSlot(uint64 vendorguid, uint32 vendorslot, uint32
- // currency price
- for (uint8 i = 0; i < MAX_EXTENDED_COST_CURRENCIES; ++i)
- {
- - if (iece->RequiredCurrency[i] && !HasCurrency(iece->RequiredCurrency[i], iece->RequiredCurrencyCount[i] * count))
- + if (iece->RequiredCurrency[i])
- {
- - SendEquipError(EQUIP_ERR_VENDOR_MISSING_TURNINS, NULL, NULL);
- - return false;
- + // Hack for Illustrious Jewelcrafter's Token
- + uint32 uiRequiredCount = iece->RequiredCurrencyCount[i];
- + if (iece->RequiredCurrency[i] == 361)
- + uiRequiredCount = uiRequiredCount * 100;
- + if (!HasCurrency(iece->RequiredCurrency[i], uiRequiredCount * count))
- + {
- + SendEquipError(EQUIP_ERR_VENDOR_MISSING_TURNINS, NULL, NULL);
- + return false;
- + }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment