aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/2016_03_22_01_auth_2016_01_13_00_auth.sql6
-rw-r--r--sql/updates/world/2016_03_22_09_world_2016_01_13_00_world.sql10
2 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/auth/2016_03_22_01_auth_2016_01_13_00_auth.sql b/sql/updates/auth/2016_03_22_01_auth_2016_01_13_00_auth.sql
new file mode 100644
index 00000000000..c70d4c09468
--- /dev/null
+++ b/sql/updates/auth/2016_03_22_01_auth_2016_01_13_00_auth.sql
@@ -0,0 +1,6 @@
+--
+DELETE FROM `rbac_permissions` WHERE `id`=836;
+INSERT INTO `rbac_permissions` (`id`,`name`) VALUES (836,"Command: .debug boundary");
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=836;
+INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES (196, 836);
diff --git a/sql/updates/world/2016_03_22_09_world_2016_01_13_00_world.sql b/sql/updates/world/2016_03_22_09_world_2016_01_13_00_world.sql
new file mode 100644
index 00000000000..cba5d3a18a1
--- /dev/null
+++ b/sql/updates/world/2016_03_22_09_world_2016_01_13_00_world.sql
@@ -0,0 +1,10 @@
+--
+DELETE FROM `command` WHERE `permission`=836;
+INSERT INTO `command` (`name`,`permission`,`help`) VALUES ("debug boundary",836,"Syntax: .debug boundary [fill] [duration]
+Flood fills the targeted unit's movement boundary and marks the edge of said boundary with debug creatures.\nSpecify 'fill' as first parameter to fill the entire area with debug creatures.");
+
+DELETE FROM `trinity_string` WHERE `entry` IN (11011,11012,11013);
+INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES
+(11011,"VisualizeBoundary warning: No interior point of the creature's boundary could be found - check if you have mutually exclusive boundaries!"),
+(11012,"VisualizeBoundary error: Creature movement is unbounded"),
+(11013,"VisualizeBoundary warning: Reached fail-safe flood boundary - check is your boundary is unbounded!");