mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
Note: `auctionhouse`.`location` field not used after this. But not removed to simplify backporting to mangos-0.12.
This commit is contained in:
parent
4fd34bf101
commit
2d242c86a8
9 changed files with 163 additions and 112 deletions
|
|
@ -511,6 +511,16 @@ struct AreaTriggerEntry
|
|||
float box_orientation; // 9 m_box_yaw
|
||||
};
|
||||
|
||||
struct AuctionHouseEntry
|
||||
{
|
||||
uint32 houseId; // 0 index
|
||||
uint32 faction; // 1 id of faction.dbc for player factions associated with city
|
||||
uint32 depositPercent; // 2 1/3 from real
|
||||
uint32 cutPercent; // 3
|
||||
//char* name[16]; // 4-19
|
||||
// 20 string flag, unused
|
||||
};
|
||||
|
||||
struct BankBagSlotPricesEntry
|
||||
{
|
||||
uint32 ID;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue