server/sql/updates/11521_01_mangos_command.sql
Iriskin 5876afb0a4 [11521] Fixed typo in chat command help.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 23:55:03 +04:00

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.');