mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 10:26:37 +00:00
Added support for merchant item filtering by class
Added column classes_required to merchantlist to allow the merchant to only sell items to specified classes Ex. (only example I know from live) To only allow poison supplies to be sell able to only rogues, you would set classes_required to 256. classes_required defaults to 65535 (all/any class) Remember to run the new SQL!
This commit is contained in:
@@ -3428,15 +3428,18 @@ struct LevelAppearance_Struct { //Sends a little graphic on level up
|
||||
uint32 value5b;
|
||||
/*64*/
|
||||
};
|
||||
struct MerchantList{
|
||||
|
||||
struct MerchantList {
|
||||
uint32 id;
|
||||
uint32 slot;
|
||||
uint32 item;
|
||||
int16 faction_required;
|
||||
int8 level_required;
|
||||
uint16 alt_currency_cost;
|
||||
uint32 classes_required;
|
||||
};
|
||||
struct TempMerchantList{
|
||||
|
||||
struct TempMerchantList {
|
||||
uint32 npcid;
|
||||
uint32 slot;
|
||||
uint32 item;
|
||||
|
||||
Reference in New Issue
Block a user