Add support for vendors selling the same items with different extendedCost - original code by Vladimir (thanks mate)
Closes issue #1756 --HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -1251,7 +1251,7 @@ class Player : public Unit, public GridObject<Player>
|
||||
return mainItem && mainItem->GetProto()->InventoryType == INVTYPE_2HWEAPON && !CanTitanGrip();
|
||||
}
|
||||
void SendNewItem(Item *item, uint32 count, bool received, bool created, bool broadcast = false);
|
||||
bool BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint8 bag, uint8 slot);
|
||||
bool BuyItemFromVendorSlot(uint64 vendorguid, uint32 vendorslot, uint32 item, uint8 count, uint8 bag, uint8 slot);
|
||||
|
||||
float GetReputationPriceDiscount(Creature const* pCreature) const;
|
||||
Player* GetTrader() const { return pTrader; }
|
||||
|
||||
Reference in New Issue
Block a user