aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorxjose93 <xjose93@hotmail.com>2016-06-14 18:23:45 +0200
committermik1893 <michele.roscelli@gmail.com>2016-06-14 17:23:45 +0100
commite2c01899272d1e6c6bbf990676b818cceaf18c9c (patch)
tree3f33b91a55aca1693e16f0eee646722c26734fef /sql/updates
parent8e84603090726cf3715c444763a2c499f6518e95 (diff)
Core/Commands: Implement .neargraveyard (find nearest graveyard from dbc). (#17301)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/3.3.5/2016_06_06_00_auth.sql5
-rw-r--r--sql/updates/world/3.3.5/2016_06_06_01_world.sql8
2 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/auth/3.3.5/2016_06_06_00_auth.sql b/sql/updates/auth/3.3.5/2016_06_06_00_auth.sql
new file mode 100644
index 00000000000..0e203d847ae
--- /dev/null
+++ b/sql/updates/auth/3.3.5/2016_06_06_00_auth.sql
@@ -0,0 +1,5 @@
+DELETE FROM `rbac_permissions` WHERE `id` = 841;
+INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (841, 'Command: .debug neargraveyard');
+
+DELETE FROM `rbac_linked_permissions` WHERE `id` = 196 AND `linkedId` = 841;
+INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES (196, 841);
diff --git a/sql/updates/world/3.3.5/2016_06_06_01_world.sql b/sql/updates/world/3.3.5/2016_06_06_01_world.sql
new file mode 100644
index 00000000000..fc47dc4bf14
--- /dev/null
+++ b/sql/updates/world/3.3.5/2016_06_06_01_world.sql
@@ -0,0 +1,8 @@
+DELETE FROM `command` WHERE `name` = 'debug neargraveyard';
+INSERT INTO `command` (`name`, `permission`, `help`) VALUES
+('debug neargraveyard', 841, 'Syntax: .debug neargraveyard [linked]\nFind the nearest graveyard from dbc or db (if linked)');
+
+DELETE FROM `trinity_string` WHERE `entry` IN (82, 83);
+INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc6`, `content_loc7`) VALUES
+(82, 'Nearest graveyard found: %u (%.3f %.3f %.3f)', 'Cementerio mas cercano encontrado: %u (%.3f %.3f %.3f)', 'Cementerio mas cercano encontrado: %u (%.3f %.3f %.3f)'),
+(83, 'There are no graveyards near', 'No se ha encontrado ningun cementerio cerca', 'No se ha encontrado ningun cementerio cerca');