vendor_restrictions

This table defines the vendor restrictions.

Structure

Field Type Default Comment
entry int(10)    
racemask int(11) -1  
classmask int(11) -1  
reqrepfaction int(10) 0  
reqrepfactionvalue int(10) 0  
canbuyattextid int(10) 0  
cannotbuyattextid int(10) 0  
flags int(10) 0  

entry

The creature entry ID from creature_properties table.

racemask

The race ID…

classmask

The class ID…

reqrepfaction

The rquired faction…

reqrepfactionvalue

The rquired faction value linked to reqrepfaction…

canbuyattextid

The TextID shown if vendor can sell things to player from npc_gossip_textid table.

cannotbuyattextid

The TextID shown if vendor can not sell things to player from npc_gossip_textid table.

flags

0 = check for all values
1 = classic mount vendor