aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-27 18:15:30 -0500
committermegamage <none@none>2009-04-27 18:15:30 -0500
commitf9c40474410c5d54e408f5074b2dee1ff329c0d5 (patch)
tree1c75e3a8fec6b88f2dec9d482a1d4ca6b27a7fb6 /sql/updates
parent34599a46f78bc008233001e68220442a5cf4984a (diff)
[7714] Implement new command .character level for set level provided level. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/7714_01_mangos_command.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/7714_01_mangos_command.sql b/sql/updates/7714_01_mangos_command.sql
new file mode 100644
index 00000000000..a5eeec48b13
--- /dev/null
+++ b/sql/updates/7714_01_mangos_command.sql
@@ -0,0 +1,6 @@
+ALTER TABLE db_version CHANGE COLUMN required_7706_01_mangos_command required_7714_01_mangos_command bit;
+
+DELETE FROM `command` WHERE `name` IN ('character level');
+
+INSERT INTO `command` VALUES
+('character level',3,'Syntax: .character level [$playername] [#level]\r\n\r\nSet the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.');