chore(DB): import pending files

Referenced commit(s): 73e61e3234
This commit is contained in:
AzerothCoreBot
2023-05-13 18:45:51 +00:00
parent 73e61e3234
commit 440e4baa27
11 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
-- DB update 2023_05_13_02 -> 2023_05_13_03
UPDATE `smart_scripts` SET `action_type`=9, `comment`='Rhahk\'Zor - On Just Died - Activate Gameobject' WHERE `entryorguid`=644 AND `source_type`=0 AND `id`=2 AND `link`=3;

View File

@@ -0,0 +1,17 @@
-- DB update 2023_05_13_03 -> 2023_05_13_04
-- SQL Dark Ranger Loralen emote
DELETE FROM `creature_template_addon` WHERE (`entry` = 37779);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(37779, 0, 0, 0, 2, 0, 0, '');
-- SQL LK Boss final
DELETE FROM `creature` WHERE (`id1` = 36954);
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(1972025, 36954, 0, 0, 668, 0, 0, 3, 1, 1, 5552.77, 2262.57, 733.012, 4.15523, 86400, 0, 0, 27890000, 0, 0, 0, 0, 0, '', 48999);
-- SQL LK Sylvanas final
DELETE FROM `creature` WHERE (`id1` = 37554);
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(1972026, 37554, 0, 0, 668, 0, 0, 3, 1, 1, 5549.51, 2257.59, 733.011, 0.99299, 86400, 0, 0, 5040000, 881400, 0, 0, 0, 0, '', 48999);
-- Add Gossip Sylvanas Final
DELETE FROM `gossip_menu` WHERE (`MenuID` = 10931);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES (10931, 15190);

View File

@@ -0,0 +1,5 @@
-- DB update 2023_05_13_04 -> 2023_05_13_05
--
UPDATE `creature_template`
SET `mingold` = 448, `maxgold` = 2520
WHERE `entry` IN (22241, 22242, 22243) AND `lootid` IN (22241, 22242, 22243);

View File

@@ -0,0 +1,4 @@
-- DB update 2023_05_13_05 -> 2023_05_13_06
DELETE FROM `gameobject` WHERE `guid` IN (105000, 105001, 105002, 105003, 105004, 105005, 105014, 105015, 105016, 105017, 105018, 105019, 105020, 105021);
DELETE FROM `game_event_gameobject` WHERE `guid` IN (105000, 105001, 105002, 105003, 105004, 105005, 105014, 105015, 105016, 105017, 105018, 105019, 105020, 105021);

View File

@@ -0,0 +1,8 @@
-- DB update 2023_05_13_06 -> 2023_05_13_07
--
UPDATE `smart_scripts` SET `comment` = 'Windroc - In Combat - Cast \'Eagle Claw\'' WHERE `entryorguid` = 17128 AND `source_type` = 0 AND `id` = 0;
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `Entry` = 18220;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 18220 AND `source_type` = 0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18220, 0, 0, 0, 0, 0, 100, 0, 1000, 5000, 10000, 20000, 0, 11, 30285, 32, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ravenous Windroc - In Combat - Cast \'Eagle Claw\'');

View File

@@ -0,0 +1,28 @@
-- DB update 2023_05_13_07 -> 2023_05_13_08
--
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_violet_hold_defense_system' WHERE `entry`=30837;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 30837);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 and `SourceEntry` IN (57912, 57930, 58152);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(13,1,57912,0,0,31,0,3,29425,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,57930,0,0,31,0,3,30857,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,0,31,0,3,30661,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,1,31,0,3,30662,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,2,31,0,3,30663,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,3,31,0,3,30664,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,4,31,0,3,30665,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,5,31,0,3,30666,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,6,31,0,3,30667,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,7,31,0,3,30668,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,8,31,0,3,30918,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,9,31,0,3,30961,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,10,31,0,3,30962,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,11,31,0,3,30963,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,12,31,0,3,31007,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,13,31,0,3,31008,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,14,31,0,3,31009,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,15,31,0,3,31010,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,16,31,0,3,31118,0,0,0,0,'','Defense System - Arcane Lightning'),
(13,1,58152,0,17,31,0,3,32191,0,0,0,0,'','Defense System - Arcane Lightning');

View File

@@ -0,0 +1,5 @@
-- DB update 2023_05_13_08 -> 2023_05_13_09
--
DELETE FROM `creature_template_movement` WHERE (`CreatureId` = 8982);
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(8982, 1, 0, 0, 1, 0, 0, 0);

View File

@@ -0,0 +1,4 @@
-- DB update 2023_05_13_09 -> 2023_05_13_10
--
UPDATE `creature_template` SET `ScriptName` = 'boss_swamplord_muselek', `AIName`= '' WHERE `entry` = 17826;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 17826 AND `source_type` = 0;

View File

@@ -0,0 +1,167 @@
-- DB update 2023_05_13_10 -> 2023_05_13_11
--
DELETE FROM `creature_template_addon` WHERE `entry` IN (32838,34679,29945,29855,28857,27351,25196,37993, 37998, 1312, 4984, 5510, 5516, 12791, 13358, 13359, 14489, 25195,28049);
INSERT INTO `creature_template_addon` (`entry`, `bytes2`, `emote`) VALUES
(14489,2,0),
(13359,2,0),
(13358,2,0),
(12791,258,0),
(5516,2,0),
(5510,2,0),
(4984,2,0),
(1312,2,0),
(37993,2,0),
(37998,2,0),
(25195,2,0),
(25196,2,0),
(27351,2,214),
(28049,2,0),
(28857,2,0),
(29855,2,0),
(29945,2,0),
(32838,2,0),
(34679,2,0);
UPDATE `creature_template_addon` SET `bytes2`=2 WHERE `entry` IN (18965,18970,31294,37144,37146,32710,32711);
UPDATE `creature` SET `equipment_id`=-1 WHERE `id1` IN (27553,27560,27557,31563,25242,25243,25275,19068,16582,16842,16580,18240,17138,25962,19048,19792,18489,20203,19610,19737,19995,19362,21742,21717,22016,22018);
UPDATE `creature` SET `equipment_id`=1 WHERE `id1` IN (27588,16842, 28596, 28569, 18301, 19147, 21114, 21254);
UPDATE `creature_equip_template` SET `ItemID1`=34681 WHERE `CreatureID` IN (27573) AND `ID`=1;
DELETE FROM `creature_equip_template` WHERE `CreatureID`IN (27588,27553,27560,27557,31563,25242,25243,25275,28596, 28569, 18301, 19147, 21114, 21254, 19068,16582,16842,16580,18240,17138,25962,19048,19792,18489,20203,19610,19737,19995,19362,21742,21717,25994,22016,22018);
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`) VALUES
(19068, 4, 14877, 14877, 5260), -- 19068
(19068, 3, 18062, 0, 5260), -- 19068
(19068, 2, 17383, 0, 5260), -- 19068
(19068, 1, 10898, 12456, 5260), -- 19068
(18489, 4, 14877, 14877, 5260), -- 18489
(18489, 3, 18062, 0, 5260), -- 18489
(18489, 2, 17383, 0, 5260), -- 18489
(18489, 1, 10898, 12456, 5260), -- 18489
(20203, 3, 1911, 0, 0), -- 20203
(20203, 2, 2704, 0, 0), -- 20203
(20203, 1, 1903, 0, 0), -- 20203
(19610, 3, 1903, 0, 0), -- 19610
(19610, 2, 4994, 0, 0), -- 19610
(19610, 1, 1910, 0, 0), -- 19610
(19737, 2, 4994, 0, 0), -- 19737
(19737, 1, 1903, 0, 0), -- 19737
(25994, 1, 1906, 2081, 0), -- 25994
(25994, 2, 2200, 0, 0), -- 25994
(19995, 3, 2703, 13407, 5870), -- 19995
(19995, 2, 2703, 13406, 5870), -- 19995
(19995, 1, 14874, 0, 5870), -- 19995
(19362, 4, 30181, 21549, 2507), -- 19362
(19362, 3, 30180, 30180, 2507), -- 19362
(19362, 2, 30178, 0, 2507), -- 19362
(19362, 1, 30179, 0, 2507), -- 1936
(21742, 2, 5956, 24322, 0), -- 21742
(21742, 1, 27405, 24322, 0), -- 21742
(21717, 5, 5956, 0, 0), -- 21717
(21717, 4, 31600, 31600, 0), -- 21717
(21717, 3, 31601, 0, 0), -- 21717
(21717, 2, 31603, 31603, 0), -- 21717
(21717, 1, 31600, 31466, 0), -- 21717
(22016, 4, 31206, 31466, 0), -- 22016
(22016, 3, 31208, 0, 0), -- 22016
(22016, 2, 31207, 0, 0), -- 22016
(22016, 1, 31205, 31205, 0), -- 22016
(22018, 4, 12403, 0, 0), -- 22018
(22018, 3, 30636, 0, 0), -- 22018
(22018, 2, 25758, 0, 0), -- 22018
(22018, 1, 27405, 24328, 0), -- 22018
(19792, 7, 30179, 21549, 0), -- 19792
(19792, 6, 29417, 0, 0), -- 19792
(19792, 5, 2028, 0, 0), -- 19792
(19792, 4, 27405, 24328, 0), -- 19792
(19792, 3, 25758, 0, 0), -- 19792
(19792, 2, 30636, 0, 0), -- 19792
(19792, 1, 23225, 0, 0), -- 19792
(19048, 2, 1903, 0, 0), -- 19048
(19048, 1, 1910, 0, 0), -- 19048
(25962, 1, 2200, 0, 0), -- 25962
(25962, 2, 1906, 2081, 0), -- 25962
(17138, 5, 5289, 0, 0), -- 17138
(17138, 4, 14475, 0, 0), -- 17138
(17138, 3, 5287, 0, 0), -- 17138
(17138, 2, 5288, 0, 0), -- 17138
(17138, 1, 14643, 0, 0), -- 17138
(18240, 6, 6233, 0, 0), -- 18240
(18240, 5, 12868, 0, 0), -- 18240
(18240, 4, 3362, 0, 0), -- 18240
(18240, 3, 3351, 0, 0), -- 18240
(18240, 2, 3346, 0, 0), -- 18240
(18240, 1, 3367, 0, 0), -- 18240
(16580, 1, 10898, 12456, 5260), -- 16580
(16580, 2, 21465, 12452, 5260), -- 16580
(16582, 2, 10898, 12456, 13924), -- 16582
(16582, 1, 18062, 0, 13924), -- 16582
(16842, 2, 1905, 2558, 0), -- 16842
(16842, 1, 1901, 1901, 0), -- 16842
(28596, 1, 5292, 0, 0), -- 28596
(28569, 1, 5292, 0, 0), -- 28569
(18301, 1, 3351, 0, 0), -- 18301
(19147, 1, 2704, 0, 0), -- 19147
(21114, 1, 1911, 0, 0), -- 21114
(21254, 1, 3350, 0, 0), -- 21254
(27588, 1, 21573, 21572, 21564), -- 27588
(27553, 3, 34682, 12452, 0), -- 27553
(27553, 2, 34681, 12452, 0), -- 27553
(27553, 1, 30181, 12452, 0), -- 27553
(27560, 4, 36790, 0, 0), -- 27560
(27560, 3, 36791, 0, 0), -- 27560
(27560, 2, 36792, 0, 0), -- 27560
(27560, 1, 28914, 0, 0), -- 27560
(27557, 2, 34682, 0, 0), -- 27557
(27557, 1, 34681, 0, 0), -- 27557
(31563, 3, 34637, 34637, 5260), -- 31563
(31563, 2, 34639, 0, 5260), -- 31563
(31563, 1, 34640, 21549, 5260), -- 31563
(25242, 4, 34637, 34637, 42921), -- 25242
(25242, 3, 34639, 0, 42921), -- 25242
(25242, 2, 34640, 21549, 42921), -- 25242
(25242, 1, 8178, 0, 42921), -- 25242
(25243, 2, 34681, 0, 5260), -- 25243
(25243, 1, 34682, 34682, 5260), -- 25243
(25275, 2, 1903, 13611, 0), -- 25275
(25275, 1, 35312, 9701, 0); -- 25275
DELETE FROM `creature_equip_template` WHERE `CreatureID`=38493;
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`) VALUES
(38493, 1, 40595, 49933, 0), -- 38493
(38493, 2, 46107, 49933, 0); -- 38493
UPDATE `creature` SET `equipment_id`=2 WHERE `guid` IN (246904,246905,246915);
UPDATE `creature` SET `equipment_id`=-1 WHERE `id1` IN (1976, 14901, 23745, 24015, 24062, 24212, 28579, 32710, 32711, 34838);
DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (1976, 14901, 23745, 24015, 24062, 24212, 28579, 32710, 32711, 34838);
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`) VALUES
(1976, 1, 1899, 143, 0),
(1976, 2, 2715, 143, 0),
(14901, 1, 12629, 0, 0),
(14901, 2, 1910, 13605, 0),
(23745, 1, 6228, 0, 0),
(23745, 2, 2023, 0, 0),
(24015, 1, 34818, 0, 0),
(24015, 2, 34817, 0, 0),
(24015, 3, 34819, 0, 0),
(24015, 4, 34819, 33212, 0),
(24015, 5, 34820, 0, 0),
(24015, 6, 34816, 0, 0),
(24015, 7, 34821, 0, 0),
(24062, 1, 1910, 0, 0),
(24062, 2, 2704, 0, 0),
(24212, 1, 1983, 0, 0),
(24212, 2, 1910, 0, 0),
(28579, 1, 39359, 0, 0),
(28579, 2, 33594, 33594, 0),
(32710, 1, 0, 0, 44635),
(32710, 2, 0, 0, 44643),
(32711, 1, 0, 0, 44643),
(32711, 2, 0, 0, 44635),
(34838, 1, 34817, 0, 0),
(34838, 2, 40894, 13407, 0),
(34838, 3, 34816, 34819, 0),
(34838, 4, 34821, 34816, 0),
(34838, 5, 34819, 33212, 0),
(34838, 6, 34818, 0, 0);
UPDATE `creature` SET `equipment_id` = 0 WHERE `id1` IN (6500,5405,6513,9600,4075,3819);

View File

@@ -0,0 +1,54 @@
-- DB update 2023_05_13_11 -> 2023_05_13_12
-- Co-authored-by: aletson <aletson@users.noreply.github.com> https://github.com/TrinityCore/TrinityCore/pull/20630
-- Floon(18588) & Raliq the Drunk(18585) & Sal'salabim(18584)
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` IN (18588,18585,18584);
-- Floon
DELETE FROM `smart_scripts` WHERE `entryorguid`=18588 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18588, 0, 0, 0, 0, 0, 100, 0, 2000, 2000, 30000, 30000, 0, 11, 6726, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Floon - In Combat - Cast \'Silence\''),
(18588, 0, 1, 0, 0, 0, 100, 0, 4000, 4000, 5000, 5000, 0, 11, 9672, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Floon - In Combat - Cast \'Frostbolt\''),
(18588, 0, 2, 0, 0, 0, 100, 0, 9000, 9000, 20000, 20000, 0, 11, 11831, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Floon - In Combat - Cast \'Frost Nova\''),
(18588, 0, 3, 4, 62, 0, 100, 0, 7731, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Gossip Option 0 Selected - Close Gossip'),
(18588, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1738, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Gossip Option 0 Selected - Set Faction Arrakoa'),
(18588, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Gossip Option 0 Selected - Say Line 0'),
(18588, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Gossip Option 0 Selected - Start Attacking'),
(18588, 0, 7, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Reset - Set Default Faction');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 7732;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 7732, 0, 0, 0, 9, 0, 10009, 0, 0, 0, 0, 0, '', 'Floon - Show gossip menu 7732 option id 0 if quest Crackin\' Some Skulls has been taken.');
-- Raliq the Drunk
UPDATE `creature_template_addon` SET `bytes2` = 1 WHERE `entry` = 18585;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18585 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18585, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 15000, 15000, 0, 11, 10966, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - In Combat - Cast \'Uppercut\''),
(18585, 0, 1, 2, 62, 0, 100, 0, 7729, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Gossip Option 0 Selected - Close Gossip'),
(18585, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 2, 45, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Gossip Option 0 Selected - Set Faction Ogre'),
(18585, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Gossip Option 0 Selected - Say Line 0'),
(18585, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Gossip Option 0 Selected - Start Attacking'),
(18585, 0, 5, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Reset - Set Default Faction'),
(18585, 0, 6, 0, 1, 0, 100, 0, 0, 0, 3600, 5000, 0, 5, 92, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - Out of Combat - Play Emote 92 (ONESHOT_EAT_NOSHEATHE)');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 7729;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 7729, 0, 0, 0, 9, 0, 10009, 0, 0, 0, 0, 0, '', 'Raliq the Drunk - Show gossip menu 7729 option id 0 if quest Crackin\' Some Skulls has been taken.');
-- Sal'salabim
DELETE FROM `smart_scripts` WHERE `entryorguid`=18584 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18584, 0, 0, 0, 9, 0, 100, 0, 8, 40, 15000, 15000, 0, 11, 31705, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - Within 8-40 Range - Cast \'Magnetic Pull\''),
(18584, 0, 1, 2, 62, 0, 100, 0, 7725, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Close Gossip'),
(18584, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 2, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Set Faction Demon'),
(18584, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Say Line 0'),
(18584, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Start Attacking'),
(18584, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 42, 0, 19, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Set Invincibility Hp 19%'),
(18584, 0, 6, 7, 2, 0, 100, 1, 0, 20, 0, 0, 0, 15, 10004, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Health Below 20% - Quest Credit \'Patience and Understanding\''),
(18584, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Health Below 20% - Evade'),
(18584, 0, 8, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Reset - Set Default Faction');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 7725;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 7725, 0, 0, 0, 9, 0, 10004, 0, 0, 0, 0, 0, '', 'Sal\'salabim - Show gossip menu 7725 option id 0 if quest Patience and Understanding has been taken.');

View File

@@ -0,0 +1,5 @@
-- DB update 2023_05_13_12 -> 2023_05_13_13
DELETE FROM `warden_checks` WHERE `id` IN (795,796);
INSERT INTO `warden_checks` (`id`, `type`, `data`, `str`, `address`, `length`, `result`, `comment`) VALUES
(795, 139, NULL, 'local f=DEFAULT_CHAT_FRAME for i=1,f:GetNumMessages() do if (f:GetMessageInfo(i)):find("Rotation Mode Disable") then return true end end', NULL, NULL, NULL, 'Detects PQR'),
(796, 139, NULL, 'local f=DEFAULT_CHAT_FRAME for i=1,f:GetNumMessages() do if (f:GetMessageInfo(i)):find("Rotation Mode Enable") then return true end end', NULL, NULL, NULL, 'Detects PQR');