mirror of
https://github.com/mangosfour/server.git
synced 2026-01-02 01:37:05 +00:00
[10679] New table npc_vendor_template for comon item data for diff vendors.
In vendor list show own vedor items + template ites if any. Vendor template item lists selected by id stored in creature_template.vendor_id
This commit is contained in:
parent
a0cb8494a9
commit
0bf8b0aa79
16 changed files with 217 additions and 68 deletions
4
sql/updates/10679_02_mangos_creature_template.sql
Normal file
4
sql/updates/10679_02_mangos_creature_template.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_10679_01_mangos_npc_vendor_template required_10679_02_mangos_creature_template bit;
|
||||
|
||||
ALTER TABLE creature_template
|
||||
ADD COLUMN vendor_id mediumint(8) unsigned NOT NULL default '0' AFTER equipment_id;
|
||||
Loading…
Add table
Add a link
Reference in a new issue