mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Battleground:
* added a possibility to reload battleground templates * cleaned up the template structure * use mapids from BattlemasterList.dbc to calculate random bg
This commit is contained in:
File diff suppressed because one or more lines are too long
10
sql/updates/auth/2014_07_09_00_auth_rbac_permission.sql
Normal file
10
sql/updates/auth/2014_07_09_00_auth_rbac_permission.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
SET @id = 631;
|
||||
|
||||
-- Add new permissions
|
||||
DELETE FROM `rbac_permissions` WHERE `id`=@id;
|
||||
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
|
||||
(@id, 'Command: reload battleground_template');
|
||||
|
||||
DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=@id;
|
||||
INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
|
||||
(196, @id);
|
||||
3
sql/updates/world/2014_07_09_03_world_command.sql
Normal file
3
sql/updates/world/2014_07_09_03_world_command.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
DELETE FROM `command` WHERE `name` LIKE 'reload battleground_template';
|
||||
INSERT INTO `command` (`name`, `permission`, `help`) VALUES
|
||||
('reload battleground_template', 631, 'Syntax: .reload battleground_template\r\nReload Battleground Templates.');
|
||||
Reference in New Issue
Block a user