Method Global:AddVendorItem [-] [+]
Adds an Item to a vendor and updates the world database.
Synopsis
AddVendorItem( entry, item, maxcount, incrtime, extendedcost, save )
AddVendorItem( entry, item, maxcount, incrtime, extendedcost, save, allowDuplicate )
Arguments
number incrtime
Combined with maxcount, incrtime tells how often (in seconds) the vendor list is refreshed and the limited Item copies are restocked.
Valid numbers: integers from 0 to 4,294,967,295.
number extendedcost
Unique cost of an Item, such as conquest points for example.
Valid numbers: integers from 0 to 4,294,967,295.
boolean save
Whether the change should be saved to world database.
boolean allowDuplicate (false)
Optional wether the vendor allows duplicate items.
Returns
Nothing.