aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-01-13 15:33:17 +0100
committerShauren <shauren.trinity@gmail.com>2016-03-22 22:56:43 +0100
commite2f2c70ba4ee0205dbe7f6ebb81e79dd0872d9e8 (patch)
tree462105f4bd862b5b2d0a761aa6c5912151bda68a /sql/updates
parent78885769cbc52940993064b34f347e50c018dd52 (diff)
Merge branch '3.3.5-bossboundary' into 3.3.5-base (PR #16089)
(cherry picked from commit 5b8b8c653039ec2add0b3a66468abb85e6f35054)
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!");