mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 19:37:07 +00:00
Some items with negative by defaul charges not expected to be deletedt at no charges. In past this fixed by using positive charges amount in like cases in different from expected negative value. Adding new field for avoid this.
7 lines
No EOL
310 B
SQL
7 lines
No EOL
310 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_9482_01_mangos_spell_proc_event required_9509_01_mangos_item_template bit;
|
|
|
|
alter table item_template
|
|
add column NonConsumable tinyint(1) UNSIGNED DEFAULT '0' NOT NULL after maxMoneyLoot;
|
|
|
|
update item_template
|
|
set NonConsumable = 1 WHERE ItemLimitCategory = 4; |