Scripts/Command: implement .debug play music command

This commit is contained in:
Aokromes
2017-05-30 09:55:45 +02:00
parent 16e60ba408
commit dff1518ac2
13 changed files with 70 additions and 29 deletions

File diff suppressed because one or more lines are too long

View 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);

View File

@@ -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;

View File

@@ -1 +0,0 @@
UPDATE `spell_proc` SET `SchoolMask`=0, `SpellFamilyName`=3 WHERE `SpellId`=71761;

View File

@@ -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;

View File

@@ -0,0 +1 @@
-- UPDATE `spell_proc` SET `SchoolMask`=0, `SpellFamilyName`=3 WHERE `SpellId`=71761;

View File

@@ -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.');