mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 10:37:02 +00:00
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login. Fixed code for item stacks operations with size > 255.
14 lines
490 B
SQL
14 lines
490 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_7002_01_mangos_spell_chain required_7015_01_mangos_item_template bit;
|
|
|
|
UPDATE item_template
|
|
SET maxcount = 0 WHERE maxcount > 32000;
|
|
|
|
UPDATE item_template
|
|
SET stackable = 0 WHERE stackable > 32000;
|
|
|
|
ALTER TABLE item_template
|
|
CHANGE COLUMN maxcount maxcount smallint(5) NOT NULL default '-1',
|
|
CHANGE COLUMN stackable stackable smallint(5) NOT NULL default '1';
|
|
|
|
UPDATE item_template
|
|
SET stackable = -1 WHERE stackable = 0;
|