chore(DB): import pending files

Referenced commit(s): 651bafa482
This commit is contained in:
AzerothCoreBot
2022-11-21 22:02:59 +00:00
parent 651bafa482
commit b57985bcd5
5 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
-- DB update 2022_11_21_10 -> 2022_11_21_11
-- Remove golden pearl drop from creature
DELETE FROM `item_loot_template` WHERE `Entry` IN (17917, 20627) AND (`Item` IN (13926));

View File

@@ -0,0 +1,5 @@
-- DB update 2022_11_21_11 -> 2022_11_21_12
--
DELETE FROM `spell_script_names` WHERE `spell_id`=24926;
INSERT INTO `spell_script_names` VALUES
(24926,'spell_hallows_end_candy_pirate_costume');

View File

@@ -0,0 +1,34 @@
-- DB update 2022_11_21_12 -> 2022_11_21_13
--
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 181582) AND (`source_type` = 1) 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
(181582, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 12, 19656, 1, 30000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaliri Nest - On Gameobject State Changed - Summon Creature \'Invisible Location Trigger\''),
(181582, 1, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaliri Nest - On Gameobject State Changed - Despawn Instant');
-- [Q] Birds of a Feather -- http://wotlk.openwow.com/quest=9397
UPDATE `creature` SET `MovementType`=0 WHERE `guid`=57793;
DELETE FROM `creature_addon` WHERE `guid`=57793;
DELETE FROM `waypoint_data` WHERE `id`=577930;
-- Falconer Drenna Riverwind SAI
SET @ENTRY := 16790;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,1,20,0,100,0,9397,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Falconer Drenna Riverwind - On Quest 'Birds of a Feather' Finished - Run Script"),
(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Falconer Drenna Riverwind - On Quest 'Birds of a Feather' Finished - Store Targetlist");
-- Actionlist SAI
SET @ENTRY := 1679000;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Set Run Off"),
(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,69,0,0,0,0,0,0,8,0,0,0,-597.806,4110.68,90.848,2.02116,"On Script - Move To Position"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,5,16,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 16"),
(@ENTRY,9,3,0,0,0,100,0,2000,2000,0,0,12,17262,1,20000,0,0,0,8,0,0,0,-597.244,4111.88,90.7789,0.805268,"On Script - Summon Creature 'Captive Female Kaliri'"),
(@ENTRY,9,4,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,"On Script - Say Line 0"),
(@ENTRY,9,5,0,0,0,100,0,4000,4000,0,0,69,0,0,0,0,0,0,8,0,0,0,-596.347,4108.47,91.0061,5.15176,"On Script - Move To Position"),
(@ENTRY,9,6,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.10152,"On Script - Set Orientation 4,10152");
DELETE FROM `creature_text` WHERE `CreatureID`=16790;
INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
(16790, 0, 0, 'Thank you, $N. It looks like they''re going to get along just fine.', 12, 0, 100, 0, 0, 0, 13666, 'Falconer Drenna Riverwind');

View File

@@ -0,0 +1,11 @@
-- DB update 2022_11_21_13 -> 2022_11_21_14
--
-- Update effects from classic to the summoning spell
UPDATE `spell_dbc` SET `Effect_1` = 28, `EffectMiscValueB_1` = 64 WHERE (`ID` = 33903);
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 19188) AND (`source_type` = 0) AND (`id` IN (3, 4, 5, 6));
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
(19188, 0, 3, 0, 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, 'Raging Colossus - Between 0-20% Health - Say Line 0 (No Repeat)'),
(19188, 0, 4, 0, 2, 0, 100, 1, 0, 75, 0, 0, 0, 11, 33903, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Raging Colossus - Between 0-75% Health - Cast \'Serverside - Summon Crystalhide Rageling\' (No Repeat)'),
(19188, 0, 5, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 11, 33903, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Raging Colossus - Between 0-50% Health - Cast \'Serverside - Summon Crystalhide Rageling\' (No Repeat)'),
(19188, 0, 6, 0, 2, 0, 100, 1, 0, 25, 0, 0, 0, 11, 33903, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Raging Colossus - Between 0-25% Health - Cast \'Serverside - Summon Crystalhide Rageling\' (No Repeat)');

View File

@@ -0,0 +1,8 @@
-- DB update 2022_11_21_14 -> 2022_11_21_15
--
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 16975;
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 16975) AND (`source_type` = 0) 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
(16975, 0, 0, 0, 0, 0, 100, 0, 6000, 6000, 10000, 10000, 0, 11, 33914, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Uncontrolled Voidwalker - In Combat - Cast \'Shadowstrike\''),
(16975, 0, 1, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 11, 33916, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Uncontrolled Voidwalker - Between 0-50% Health - Cast \'Void Drain\' (No Repeat)');