chore(DB): import pending files

Referenced commit(s): b2e823c6d1
This commit is contained in:
AzerothCoreBot
2023-03-15 21:30:49 +00:00
parent b2e823c6d1
commit a1dd4e1625
9 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
-- DB update 2023_03_15_01 -> 2023_03_15_02
--
-- Repair Warp Splinter Loot Table
UPDATE `reference_loot_template` SET `GroupId`=3 WHERE `Entry`=35006 AND `Item` IN (28370, 28367, 28371, 28348, 28350, 28349);
UPDATE `creature_loot_template` SET `MaxCount`=1 WHERE `Entry`=17977 AND `Item`=35006 AND `Reference`=35006 AND `GroupId`=2;
DELETE FROM `creature_loot_template` WHERE `Entry`=17977 AND `Item`=35006 AND `Reference`=35006 AND `GroupId`=3;
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES (17977, 35006, 35006, 100, 0, 1, 3, 1, 1, 'Warp Splinter High Value Table - (ReferenceTable)');

View File

@@ -0,0 +1,15 @@
-- DB update 2023_03_15_02 -> 2023_03_15_03
-- Ridgespine Horror
UPDATE `creature_template_addon` SET `auras` = '7939 22766' WHERE `entry` = 20998;
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 20998;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 20998;
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
(20998, 0, 0, 0, 0, 0, 100, 0, 3000, 7000, 8000, 12000, 0, 11, 745, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ridgespine Horror - In Combat - Cast \'Web\''),
(20998, 0, 1, 0, 0, 0, 100, 0, 0, 0, 5000, 12000, 0, 11, 7951, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ridgespine Horror - In Combat - Cast \'Toxic Spit\'');
-- Ridgespine Stalker
UPDATE `creature_template_addon` SET `auras` = '7939 22766' WHERE `entry` = 20714;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 20714;
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
(20714, 0, 0, 0, 0, 0, 100, 0, 8000, 12000, 8000, 12000, 0, 11, 744, 32, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ridgespine Stalker - In Combat - Cast \'Poison\'');

View File

@@ -0,0 +1,22 @@
-- DB update 2023_03_15_03 -> 2023_03_15_04
-- Karaaz <Consortium Quartermaster>
DELETE FROM `creature_text` WHERE `CreatureID`=20242;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(20242, 0, 0, 'Of course none of my goods are stolen. But if someone asks, you didn\'t get them from me!', 12, 0, 100, 1, 0, 0, 17914, 0, 'Karaaz'),
(20242, 0, 1, 'The latest blueprints, patterns and schematics are available right here. These instructions are so simple to follow they practically craft themselves!', 12, 0, 100, 1, 0, 0, 17915, 0, 'Karaaz'),
(20242, 0, 2, 'The best selection of smuggled goods is available right here, $n. Great for the whole family! Avoid goblin taxation and naaru prohibition - the Consortium is here to fill your every shopping need!', 12, 0, 100, 1, 0, 0, 17916, 0, 'Karaaz'),
(20242, 0, 3, 'Pssst! I have something that might interest you, $n. It fell off a pack mule in Nagrand!', 12, 0, 100, 1, 0, 0, 17917, 0, 'Karaaz');
DELETE FROM `smart_scripts` WHERE `entryorguid` = 20242 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
(20242, 0, 0, 0, 38, 0, 100, 0, 0, 1, 120000, 120000, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Karaaz - On Data Set 0 1 - Say Line 0 (Areatrigger 4495 Invoker)');
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry`=4495;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES (4495, 'SmartTrigger');
DELETE FROM `smart_scripts` WHERE `entryorguid`=4495 AND `source_type`=2;
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
(4495, 2, 0, 1, 46, 0, 100, 0, 4495, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (The Stormspire) - On Trigger - Store Targetlist'),
(4495, 2, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20242, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (The Stormspire) - On Link - Send Target 1 (Karaaz)'),
(4495, 2, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 19, 20242, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (The Stormspire) - On Link - Set Data 0 1 (Karaaz)');

View File

@@ -0,0 +1,27 @@
-- DB update 2023_03_15_04 -> 2023_03_15_05
-- Brother Sarno
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 7917;
DELETE FROM `smart_scripts` WHERE `entryorguid`=7917 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 (7917, 0, 0, 0, 38, 0, 100, 0, 0, 1, 60000, 60000, 0, 80, 791700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brother Sarno - On Data Set 0 1 - Run Script (Areatrigger 1125 Invoker)');
DELETE FROM `smart_scripts` WHERE `entryorguid`=791700 AND `source_type`=9;
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
(791700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Brother Sarno - On Script - Set Orientation Stored Target'),
(791700, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Brother Sarno - On Script - Say Line 0'),
(791700, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brother Sarno - On Script - Set Orientation Home Position');
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry` = 1125;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES (1125, 'SmartTrigger');
DELETE FROM `smart_scripts` WHERE `entryorguid`=1125 AND `source_type`=2;
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
(1125, 2, 0, 1, 46, 0, 100, 0, 1125, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (Cathedral of Light) - On Trigger - Store Targetlist'),
(1125, 2, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 7917, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (Cathedral of Light) - On Link - Send Target 1 (Brother Sarno)'),
(1125, 2, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 19, 7917, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (Cathedral of Light) - On Link - Set Data 0 1 (Brother Sarno)');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=1125;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 1125, 2, 0, 15, 0, 32, 0, 0, 1, 0, 0, '', 'Execute Areatrigger 1125 SAI if player is not a Death Knight');

View File

@@ -0,0 +1,31 @@
-- DB update 2023_03_15_05 -> 2023_03_15_06
-- Griftah
DELETE FROM `smart_scripts` WHERE `entryorguid` = 19227 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
(19227, 0, 0, 0, 38, 0, 100, 0, 0, 1, 60000, 60000, 0, 80, 1922700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Griftah - On Data Set 0 1 - Run Script (Areatrigger 4389 Invoker)');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1922700);
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
(1922700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Griftah - Actionlist - Say Line 0'),
(1922700, 9, 1, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Griftah - Actionlist - Play Emote 1'),
(1922700, 9, 2, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Griftah - Actionlist - Play Emote 5');
DELETE FROM `creature_text` WHERE `CreatureID` = 19227;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(19227,0,0,"Hey! Hey, $r! I be havin' just the thing for ya. Ya ever see a tikbalang? Frightenin' creatures. Prone to stealin' ya away. What ya need is one of my tikbalang wards. Guaranteed to ward away all tikbalangs!",12,0,100,5,0,0,16318,0,"Griftah"),
(19227,0,1,"Look over here, $c! I got somethin' for ya. Just what ya need. It's soap, right... and it's on a rope! No offense, $G man:honey;, but yer a little ripe, know what I'm sayin'?",12,0,100,5,0,0,16319,0,"Griftah"),
(19227,0,2,"Ya look lovesick. Special someone be gettin' ya down, eh? No worries, no worries. Ya get this medallion from me, ya wear it when ya see 'em, and they be all over ya, $G man:sweetheart;!",12,0,100,5,0,0,16320,0,"Griftah"),
(19227,0,3,"Dangerous out there, innit? Know what ya need? Protection. I can help ya defy death itself! Ya wear this madstone 'round yer neck, see, and then ya be able to come back if ya find yerself in the spirit world! Just a quick jaunt to yer corpse and up ya come, fresh and new!",12,0,100,5,0,0,16321,0,"Griftah"),
(19227,0,4,"Amazing amulets! Incredible curios! The newfangled jewelcrafters be havin' nothin' on the tried and true mystical methods of ol' Griftah! Improve yerself through these magical talismans for a bargain price!",12,0,100,5,0,0,16322,0,"Griftah"),
(19227,0,5,"C'mere, $r. Ya don't want to be riskin' yerself in a dungeon, do ya? Filthy work, and for what? Some worthless trinket? Nah, what ya need be one of my amulets. Guaranteed to work!",12,0,100,5,0,0,16323,0,"Griftah"),
(19227,0,6,"Ya look tired, $c. I be havin' somethin' for ya. These amulets, they can help ya leap obstacles and swim through the rivers like ya be born to it. They energize the food ya be eatin', makin' yer wounds close before yer eyes!",12,0,100,5,0,0,16324,0,"Griftah");
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry` = 4389;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES (4389, 'SmartTrigger');
DELETE FROM `smart_scripts` WHERE `entryorguid` = 4389 AND `source_type` = 2;
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
(4389,2,0,1,46,0,100,0,4389,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Areatrigger (Lower City) - On Trigger - Store Targetlist"),
(4389,2,1,2,61,0,100,0,0,0,0,0,0,100,1,0,0,0,0,0,10,68758,19227,0,0,0,0,0,0,"Areatrigger (Lower City) - On Link - Send Target 1 (Griftah)"),
(4389,2,2,0,61,0,100,0,0,0,0,0,0,45,0,1,0,0,0,0,10,68758,19227,0,0,0,0,0,0,"Areatrigger (Lower City) - On Link - Set Data 0 1 (Griftah)");

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_15_06 -> 2023_03_15_07
--
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 18551200) AND (`source_type` = 9) AND (`id` IN (0, 1));
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
(18551200, 9, 0, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 12, 22920, 1, 300000, 0, 1, 0, 8, 0, 0, 0, 0, 3989.02, 6071.37, 266.41, 3.72, 'Stasis Chamber Alpha - On Script - Summon Creature \'Thuk the Defiant\''),
(18551200, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Stasis Chamber Alpha - On Script - Despawn Self');

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_15_07 -> 2023_03_15_08
--
UPDATE `pool_gameobject` SET `Chance`=0 WHERE `description`='Rotten Arakkoa Egg (184795)';

View File

@@ -0,0 +1,67 @@
-- DB update 2023_03_15_08 -> 2023_03_15_09
-- Store Targetlist of group (id 1)
DELETE FROM `smart_scripts` WHERE (`source_type` = 1 AND `entryorguid` IN (183770, 183956, 184311, 184312));
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
(183770, 1, 0 , 1 , 62, 0, 100, 0, 8036, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - On Gossip Option Select - Store Target List'),
(183770, 1, 1 , 2 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Store Target List Party'),
(183770, 1, 2 , 3 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20209, 1, 120000, 0, 0, 0, 8, 0, 0, 0, 0, 2918.95, 4189.98, 161.88, 0.34, 'B\'naar Control Console - Linked with previous event - Summon B\'naar Control Console'),
(183770, 1, 3 , 4 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20209, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Send Targetlist to B\'naar Control Console'),
(183770, 1, 4 , 5 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 0, 19, 20209, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Send Targetlist to B\'naar Control Console'),
(183770, 1, 5 , 6 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Close Gossip'),
(183770, 1, 6 , 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 18377000, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Run Script'),
(183770, 1, 7 , 8 , 38, 0, 100, 0, 1, 1, 2000, 2000, 0, 104, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - On Data Set - Fail Quest'),
(183770, 1, 8 , 9 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20209, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - On Data Set - Say'),
(183770, 1, 9 , 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 19, 20209, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Set Data'),
(183770, 1, 10, 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - On Data Set - Reset Scripts'),
(183956, 1, 0 , 1 , 62, 0, 100, 0, 8113, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Gossip Option Select - Store Target List'),
(183956, 1, 1 , 2 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Store Target List Party'),
(183956, 1, 2 , 3 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20417, 1, 120000, 0, 0, 0, 8, 0, 0, 0, 0, 2426.77, 2750.38, 133.24, 2.14, 'Coruu Control Console - Linked with previous event - Summon Coruu Control Console'),
(183956, 1, 3 , 4 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20417, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Send Targetlist to Coruu Control Console'),
(183956, 1, 4 , 5 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 0, 19, 20417, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Send Targetlist to Coruu Control Console'),
(183956, 1, 5 , 6 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Close Gossip'),
(183956, 1, 6 , 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 18395600, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Run Script'),
(183956, 1, 7 , 8 , 38, 0, 100, 0, 1, 1, 2000, 2000, 0, 104, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Data Set - Fail Quest'),
(183956, 1, 8 , 9 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20417, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Data Set - Say'),
(183956, 1, 9 , 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 19, 20417, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Data Set - Set Data'),
(183956, 1, 10, 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Data Set - Reset Scripts'),
(184311, 1, 0 , 1 , 62, 0, 100, 0, 8115, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Gossip Option Select - Store Target List'),
(184311, 1, 1 , 2 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Store Target List Party'),
(184311, 1, 2 , 3 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20418, 1, 120000, 0, 0, 0, 8, 0, 0, 0, 0, 2976.48, 2183.29, 163.2, 1.85, 'Duru Control Console - Linked with previous event - Summon Duru Control Console'),
(184311, 1, 3 , 4 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20418, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Send Targetlist to Duru Control Console'),
(184311, 1, 4 , 5 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 0, 19, 20418, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Send Targetlist to Duru Control Console'),
(184311, 1, 5 , 6 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Close Gossip'),
(184311, 1, 6 , 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 18431100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Run Script'),
(184311, 1, 7 , 8 , 38, 0, 100, 0, 1, 1, 2000, 2000, 0, 104, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Data Set - Fail Quest'),
(184311, 1, 8 , 9 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20418, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Data Set - Say'),
(184311, 1, 9 , 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 19, 20418, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Data Set - Set Data'),
(184311, 1, 10, 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Data Set - Reset Scripts'),
(184312, 1, 0 , 1 , 62, 0, 100, 0, 8116, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Gossip Option Select - Store Target List'),
(184312, 1, 1 , 2 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Store Target List Party'),
(184312, 1, 2 , 3 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20440, 1, 120000, 0, 0, 0, 8, 0, 0, 0, 0, 4013.71, 4028.76, 192.1, 1.25, 'Ara Control Console - Linked with previous event - Summon Ara Control Console'),
(184312, 1, 3 , 4 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20440, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Send Targetlist to Ara Control Console'),
(184312, 1, 4 , 5 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 0, 19, 20440, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Send Targetlist to Ara Control Console'),
(184312, 1, 5 , 6 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Close Gossip'),
(184312, 1, 6 , 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 18431200, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Run Script'),
(184312, 1, 7 , 8 , 38, 0, 100, 0, 1, 1, 2000, 2000, 0, 104, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Fail Quest'),
(184312, 1, 8 , 9 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20440, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Say'),
(184312, 1, 9 , 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 19, 20440, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Set Data'),
(184312, 1, 10, 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Reset Scripts');
-- Update to new Stored ID
UPDATE `smart_scripts` SET `target_param1`=2 WHERE (`entryorguid` = 20209) AND (`source_type` = 0) AND (`id` IN (11, 12, 13));
UPDATE `smart_scripts` SET `target_param1`=2 WHERE (`entryorguid` = 20417) AND (`source_type` = 0) AND (`id` IN (13, 14, 15));
UPDATE `smart_scripts` SET `target_param1`=2 WHERE (`entryorguid` = 20418) AND (`source_type` = 0) AND (`id` IN (15, 16, 17));
UPDATE `smart_scripts` SET `target_param1`=2 WHERE (`entryorguid` = 20440) AND (`source_type` = 0) AND (`id` IN (14, 15, 16));
-- Fix Flags
UPDATE `creature_template` SET `unit_flags`=`unit_flags`|33554432|256 WHERE (`entry` IN (20209, 20417, 20418, 20440));
-- Delete wrong spawns of Technicians causing trouble with Duro
DELETE FROM `creature` WHERE `id1` = 20218;
-- Fix Wrong WPs being assigned
UPDATE `smart_scripts` SET `action_param1`=2021802, `action_param2`=2021803 WHERE (`id`=12 AND `source_type` = 0 AND `entryorguid` = 20218);
UPDATE `smart_scripts` SET `action_param1`=2021804, `action_param2`=2021805 WHERE (`id`=14 AND `source_type` = 0 AND `entryorguid` = 20218);

View File

@@ -0,0 +1,25 @@
-- DB update 2023_03_15_09 -> 2023_03_15_10
-- Improve Respawn Script
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2102700);
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
(2102700, 9, 0, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 60, 0, 30, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Disable Gravity'),
(2102700, 9, 1, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 2, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Set Faction 35'),
(2102700, 9, 2, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Remove Npc Flags Questgiver'),
(2102700, 9, 3, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Set Reactstate Passive'),
(2102700, 9, 4, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 11, 35921, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Cast \'Water Bubble\''),
(2102700, 9, 5, 0, 0, 0, 100, 512, 1200, 1200, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, 21041, 0, 40, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Set Data 1 1');
UPDATE `smart_scripts` SET `event_flags`=512, `action_param2`=2, `action_param3`=1 WHERE (`entryorguid` = 21027) AND (`source_type` = 0) AND (`id` IN (0));
-- Increase Visibility Range of Triggers
DELETE FROM `creature_template_addon` WHERE (`entry` = 21041);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(21041, 0, 0, 0, 0, 0, 3, '');
-- Handle Quest Credit and Despawn on Actionlist
UPDATE `smart_scripts` SET `action_param4`=0, `action_param5`=0 WHERE (`entryorguid` = 2102704) AND (`source_type` = 9) AND (`id` IN (1));
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 2102705) AND (`source_type` = 9) AND (`id` IN (3, 4));
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
(2102705, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 26, 10451, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Quest Credit \'Escape from Coilskar Cistern\''),
(2102705, 9, 4, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Despawn Instant');