aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-01-13 15:33:17 +0100
committertreeston <treeston.mmoc@gmail.com>2016-01-13 15:33:17 +0100
commit5b8b8c653039ec2add0b3a66468abb85e6f35054 (patch)
tree0fcfd3ec94cf65ed004d2f1025f8954b7421455a /sql/updates
parentcc3a4e0948ab28bf1aebc0a6eaa0b2ab96c815bd (diff)
parent2da458c56d024aac04468ce2af454a83ad790bf6 (diff)
Merge branch '3.3.5-bossboundary' into 3.3.5-base (PR #16089)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/2016_01_13_00_auth.sql6
-rw-r--r--sql/updates/world/2016_01_13_00_world.sql10
2 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/auth/2016_01_13_00_auth.sql b/sql/updates/auth/2016_01_13_00_auth.sql
new file mode 100644
index 00000000000..c70d4c09468
--- /dev/null
+++ b/sql/updates/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_01_13_00_world.sql b/sql/updates/world/2016_01_13_00_world.sql
new file mode 100644
index 00000000000..cba5d3a18a1
--- /dev/null
+++ b/sql/updates/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!");