mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
6 lines
855 B
SQL
6 lines
855 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_11517_01_mangos_spell_proc_event required_11521_01_mangos_command bit;
|
|
|
|
DELETE FROM command WHERE name = 'debug moditemvalue';
|
|
|
|
INSERT INTO command (name, security, help) VALUES
|
|
('debug moditemvalue',3,'Syntax: .debug moditemvalue #guid #field [int|float| &= | |= | &=~ ] #value\r\n\r\nModify the field #field of the item #itemguid in your inventroy by value #value. \r\n\r\nUse type arg for set mode of modification: int (normal add/subtract #value as decimal number), float (add/subtract #value as float number), &= (bit and, set to 0 all bits in value if it not set to 1 in #value as hex number), |= (bit or, set to 1 all bits in value if it set to 1 in #value as hex number), &=~ (bit and not, set to 0 all bits in value if it set to 1 in #value as hex number). By default expect integer add/subtract.');
|