mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Scripts/Command: implement .debug play music command
This commit is contained in:
File diff suppressed because one or more lines are too long
8
sql/updates/auth/4.3.4/2017_05_30_00_auth.sql
Normal file
8
sql/updates/auth/4.3.4/2017_05_30_00_auth.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
DELETE FROM `rbac_permissions` WHERE `id` = 855;
|
||||
INSERT INTO `rbac_permissions` (`id`,`name`) VALUES
|
||||
(855, 'Command: debug play music');
|
||||
|
||||
DELETE FROM `rbac_linked_permissions` WHERE `id` = 855;
|
||||
INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES
|
||||
(198, 855);
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
-- Caynrus <Shield Vendor> used Bent Staff (item ID 35) before Cataclysm (patch 4.0.3a)
|
||||
UPDATE `creature_equip_template` SET `ItemID1`=35, `ItemID2`=0, `VerifiedBuild`=12340 WHERE `CreatureID`=4240;
|
||||
@@ -1 +0,0 @@
|
||||
UPDATE `spell_proc` SET `SchoolMask`=0, `SpellFamilyName`=3 WHERE `SpellId`=71761;
|
||||
@@ -0,0 +1,2 @@
|
||||
-- Caynrus <Shield Vendor> used Bent Staff (item ID 35) before Cataclysm (patch 4.0.3a)
|
||||
-- UPDATE `creature_equip_template` SET `ItemID1`=35, `ItemID2`=0, `VerifiedBuild`=12340 WHERE `CreatureID`=4240;
|
||||
@@ -0,0 +1 @@
|
||||
-- UPDATE `spell_proc` SET `SchoolMask`=0, `SpellFamilyName`=3 WHERE `SpellId`=71761;
|
||||
@@ -0,0 +1,4 @@
|
||||
DELETE FROM `command` WHERE `name` = 'debug play music';
|
||||
INSERT INTO `command` (`name`,`permission`,`help`) VALUES
|
||||
('debug play music', 855, 'Syntax: .debug play music #musicId\nPlay music with #musicId.\nMusic will be played only for you. Other players will not hear this.');
|
||||
|
||||
Reference in New Issue
Block a user