aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-25 16:47:22 -0600
committermegamage <none@none>2009-02-25 16:47:22 -0600
commit0f9238ecb1f0706320d71fd658aa6029a49fa6a9 (patch)
tree94d4ac954df284423117f4336b588737f1ccf8c2 /sql/updates
parent98b8e2eeb6b62bcc27412a172d9c52a6e2a16bed (diff)
[7332] Allow provided target for .distance command using player name or shift-link with guid. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/7332_01_mangos_command.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/7332_01_mangos_command.sql b/sql/updates/7332_01_mangos_command.sql
new file mode 100644
index 00000000000..65248d19c61
--- /dev/null
+++ b/sql/updates/7332_01_mangos_command.sql
@@ -0,0 +1,6 @@
+ALTER TABLE db_version CHANGE COLUMN required_7331_01_mangos_command required_7332_01_mangos_command bit;
+
+DELETE FROM `command` WHERE `name` = 'distance';
+
+INSERT INTO `command` VALUES
+('distance',3,'Syntax: .distance [$name/$link]\r\n\r\nDisplay the distance from your character to the selected creature/player, or player with name $name, or player/creature/gameobject pointed to shift-link with guid.');