From 5361f5d0e7011fd5bc573843e6c7e912fd813ace Mon Sep 17 00:00:00 2001 From: M'Dic Date: Wed, 13 Sep 2023 10:18:46 -0400 Subject: [PATCH 1/4] update (db): Chess Event Area Clean up Prep (#170) --- .../rev_1694611413983407200.sql | 219 ++++++++++++++++++ 1 file changed, 219 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1694611413983407200.sql diff --git a/data/sql/updates/pending_db_world/rev_1694611413983407200.sql b/data/sql/updates/pending_db_world/rev_1694611413983407200.sql new file mode 100644 index 00000000..0836f996 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1694611413983407200.sql @@ -0,0 +1,219 @@ + +-- +DELETE FROM `creature` WHERE `id`=22519; +DELETE FROM `creature` WHERE `guid` IN (86488,86489,86490); + +DELETE FROM `creature_template_addon` WHERE `entry`=22521; +INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`auras`) VALUES +(22521,1,'39383'); + +UPDATE `creature_template` SET `flags_extra` = 130 WHERE `entry` IN (17208,17305,17317,17316,22521); +UPDATE `creature_template` SET `flags_extra`='16777218' WHERE `entry` IN (17469,17211,21748,21664,21750,21683,21747,21682,21726,21160,21752,21684); +UPDATE `creature_template` SET `spell1`='37146', `spell2`='30284', `spell3`='37471', `spell4`='37474' WHERE `entry`=21684; -- King Llane +UPDATE `creature_template` SET `spell1`='37148', `spell2`='30284', `spell3`='37462', `spell4`='37465' WHERE `entry`=21683; -- Human Conjurer +UPDATE `creature_template` SET `spell1`='37146', `spell2`='30284', `spell3`='37455', `spell4`='37459' WHERE `entry`=21682; -- Human Cleric +UPDATE `creature_template` SET `spell1`='37144', `spell2`='30284', `spell3`='37453', `spell4`='37498' WHERE `entry`=21664; -- Human Charger +UPDATE `creature_template` SET `spell1`='37146', `spell2`='30284', `spell3`='37427', `spell4`='37432' WHERE `entry`=21160; -- Conjured Water Elemental +UPDATE `creature_template` SET `spell1`='37146', `spell2`='30284', `spell3`='37406', `spell4`='37414' WHERE `entry`=17211; -- Human Footman +UPDATE `creature_template` SET `spell1`='37146', `spell2`='30284', `spell3`='37472', `spell4`='37476' WHERE `entry`=21752; -- Warchief Blackhand +UPDATE `creature_template` SET `spell1`='37148', `spell2`='30284', `spell3`='37463', `spell4`='37461' WHERE `entry`=21750; -- Orc Warlock +UPDATE `creature_template` SET `spell1`='37146', `spell2`='30284', `spell3`='37456', `spell4`='37461' WHERE `entry`=21747; -- Orc Necrolyte +UPDATE `creature_template` SET `spell1`='37144', `spell2`='30284', `spell3`='37454', `spell4`='37502' WHERE `entry`=21748; -- Orc Wolf +UPDATE `creature_template` SET `spell1`='37146', `spell2`='30284', `spell3`='37428', `spell4`='37434' WHERE `entry`=21726; -- Summoned Daemon +UPDATE `creature_template` SET `spell1`='37146', `spell2`='30284', `spell3`='37413', `spell4`='37416' WHERE `entry`=17469; -- Orc Grunt + +UPDATE `creature_template` SET `RegenHealth`=0, `BaseAttackTime`=3000 WHERE `entry` IN (21726,21748,21747,21750,21752,17469,21160,21664,21682,21684,21683,17211); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (37465,37476,30012,37144,37148,37151,37152,37153,37472,37461,37454,37502,37428,37413,37471,37474,37459,37453,37498,37427,37406,39384,37462,37455,37463,37456,37144,37146,37148,30284,37469); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ScriptName`,`Comment`) VALUES +(13,1,37146,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"), +(13,1,30012,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"), +(13,1,37144,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"), +(13,1,37148,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"), +(13,1,37151,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"), +(13,1,37152,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"), +(13,1,37153,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"), + +(13,3,30284,0,31,3,22519,0,'',"Change Facing - Target Chess Piece: Karazhan Invisible Stalker"), + +(13,1,39384,0,31,3,21752,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,1,39384,1,31,3,21750,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,1,39384,2,31,3,21747,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,1,39384,3,31,3,21748,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,1,39384,4,31,3,21726,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,1,39384,5,31,3,17469,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,2,39384,0,31,3,21683,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,2,39384,1,31,3,21684,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,2,39384,2,31,3,21682,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,2,39384,3,31,3,21664,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,2,39384,4,31,3,21160,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), +(13,2,39384,5,31,3,17211,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"), + +(13,1,37471,0,31,3,21683,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"), +(13,1,37471,1,31,3,21684,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"), +(13,1,37471,2,31,3,21682,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"), +(13,1,37471,3,31,3,21664,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"), +(13,1,37471,4,31,3,21160,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"), +(13,1,37471,5,31,3,17211,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"), + +(13,1,37459,0,31,3,21752,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"), +(13,1,37459,1,31,3,21750,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"), +(13,1,37459,2,31,3,21747,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"), +(13,1,37459,3,31,3,21748,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"), +(13,1,37459,4,31,3,21726,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"), +(13,1,37459,5,31,3,17469,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"), + +(13,1,37453,0,31,3,21752,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"), +(13,1,37453,1,31,3,21750,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"), +(13,1,37453,2,31,3,21747,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"), +(13,1,37453,3,31,3,21748,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"), +(13,1,37453,4,31,3,21726,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"), +(13,1,37453,5,31,3,17469,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"), + +(13,1,37427,0,31,3,21752,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"), +(13,1,37427,1,31,3,21750,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"), +(13,1,37427,2,31,3,21747,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"), +(13,1,37427,3,31,3,21748,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"), +(13,1,37427,4,31,3,21726,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"), +(13,1,37427,5,31,3,17469,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"), + +(13,1,37474,0,31,3,21752,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"), +(13,1,37474,1,31,3,21750,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"), +(13,1,37474,2,31,3,21747,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"), +(13,1,37474,3,31,3,21748,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"), +(13,1,37474,4,31,3,21726,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"), +(13,1,37474,5,31,3,17469,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"), + +(13,1,37465,0,31,3,21752,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"), +(13,1,37465,1,31,3,21750,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"), +(13,1,37465,2,31,3,21747,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"), +(13,1,37465,3,31,3,21748,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"), +(13,1,37465,4,31,3,21726,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"), +(13,1,37465,5,31,3,17469,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"), + +(13,1,37498,0,31,3,21752,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"), +(13,1,37498,1,31,3,21750,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"), +(13,1,37498,2,31,3,21747,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"), +(13,1,37498,3,31,3,21748,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"), +(13,1,37498,4,31,3,21726,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"), +(13,1,37498,5,31,3,17469,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"), + +(13,1,37406,0,31,3,21752,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"), +(13,1,37406,1,31,3,21750,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"), +(13,1,37406,2,31,3,21747,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"), +(13,1,37406,3,31,3,21748,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"), +(13,1,37406,4,31,3,21726,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"), +(13,1,37406,5,31,3,17469,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"), + +(13,1,37472,0,31,3,21752,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"), +(13,1,37472,1,31,3,21750,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"), +(13,1,37472,2,31,3,21747,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"), +(13,1,37472,3,31,3,21748,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"), +(13,1,37472,4,31,3,21726,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"), +(13,1,37472,5,31,3,17469,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"), + +(13,1,37461,0,31,3,21683,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"), +(13,1,37461,1,31,3,21684,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"), +(13,1,37461,2,31,3,21682,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"), +(13,1,37461,3,31,3,21664,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"), +(13,1,37461,4,31,3,21160,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"), +(13,1,37461,5,31,3,17211,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"), + +(13,1,37502,0,31,3,21683,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"), +(13,1,37502,1,31,3,21684,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"), +(13,1,37502,2,31,3,21682,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"), +(13,1,37502,3,31,3,21664,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"), +(13,1,37502,4,31,3,21160,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"), +(13,1,37502,5,31,3,17211,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"), + +(13,1,37428,0,31,3,21683,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"), +(13,1,37428,1,31,3,21684,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"), +(13,1,37428,2,31,3,21682,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"), +(13,1,37428,3,31,3,21664,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"), +(13,1,37428,4,31,3,21160,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"), +(13,1,37428,5,31,3,17211,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"), + +(13,1,37476,0,31,3,21683,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"), +(13,1,37476,1,31,3,21684,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"), +(13,1,37476,2,31,3,21682,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"), +(13,1,37476,3,31,3,21664,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"), +(13,1,37476,4,31,3,21160,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"), +(13,1,37476,5,31,3,17211,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"), + +(13,1,37469,0,31,3,21683,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"), +(13,1,37469,1,31,3,21684,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"), +(13,1,37469,2,31,3,21682,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"), +(13,1,37469,3,31,3,21664,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"), +(13,1,37469,4,31,3,21160,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"), +(13,1,37469,5,31,3,17211,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"), + +(13,1,37454,0,31,3,21683,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"), +(13,1,37454,1,31,3,21684,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"), +(13,1,37454,2,31,3,21682,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"), +(13,1,37454,3,31,3,21664,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"), +(13,1,37454,4,31,3,21160,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"), +(13,1,37454,5,31,3,17211,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"), + +(13,1,37413,0,31,3,21683,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"), +(13,1,37413,1,31,3,21684,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"), +(13,1,37413,2,31,3,21682,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"), +(13,1,37413,3,31,3,21664,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"), +(13,1,37413,4,31,3,21160,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"), +(13,1,37413,5,31,3,17211,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"); + +DELETE FROM `creature_text` WHERE `CreatureID`=16816; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `SoundType`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(16816,0,0,'Very well. Let the game begin.',14,0,100,0,0,0,0,78000,0,'Echo of Medivh - EventBegin'), +(16816,1,0,'Perhaps a change is in order.',14,0,100,0,0,0,0,78001,0,'Echo of Medivh - Cheat 1'), +(16816,1,1,'Time for an alternative scenario.',14,0,100,0,0,0,0,78002,0,'Echo of Medivh - Cheat 2'), +(16816,1,2,'One must not become too complacent.',14,0,100,0,0,0,0,78003,0,'Echo of Medivh - Cheat 3'), +(16816,2,0,'%s cheats',16,0,100,0,0,0,0,78004,0,'Echo of Medivh - CheatEmote'), +(16816,3,0,'Let us see.',14,0,100,0,0,0,0,78005,0,'Echo of Medivh - Player Loose Pawn 1'), +(16816,3,1,'A transparent stratagem.',14,0,100,0,0,0,0,78006,0,'Echo of Medivh - Player Loose Pawn 2'), +(16816,3,2,'Ah, the wheels have begun to turn.',14,0,100,0,0,0,0,78007,0,'Echo of Medivh - Player Loose Pawn 3'), +(16816,4,0,'Foolish! Very foolish!',14,0,100,0,0,0,0,78008,0,'Echo of Medivh - Player Loose Rook'), +(16816,5,0,'Yes... all according to plan.',14,0,100,0,0,0,0,78009,0,'Echo of Medivh - Player Loose Knight'), +(16816,6,0,'The slightest loss of concentration is all it takes.',14,0,100,0,0,0,0,78010,0,'Echo of Medivh - Player Loose Bishop'), +(16816,7,0,'Now it gets interesting.',14,0,100,0,0,0,0,78011,0,'Echo of Medivh - Player Loose Queen'), +(16816,8,0,'As it should be.',14,0,100,0,0,0,0,78012,0,'Echo of Medivh - Player Loose King'), +(16816,9,0,'Hmm.',14,0,100,0,0,0,0,78013,0,'Echo of Medivh - Medivh Loose Pawn 1'), +(16816,9,1,'No matter.',14,0,100,0,0,0,0,78014,0,'Echo of Medivh - Medivh Loose Pawn 2'), +(16816,9,2,'Interesting.',14,0,100,0,0,0,0,78015,0,'Echo of Medivh - Medivh Loose Pawn 3'), +(16816,10,0,'A minor concern.',14,0,100,0,0,0,0,78016,0,'Echo of Medivh - Medivh Loose Rook'), +(16816,11,0,'Yes...of course.',14,0,100,0,0,0,0,78017,0,'Echo of Medivh - Medivh Loose Knight'), +(16816,12,0,'A necessary sacrifice.',14,0,100,0,0,0,0,78018,0,'Echo of Medivh - Medivh Loose Bishop'), +(16816,13,0,'Ahh, I should have known.',14,0,100,0,0,0,0,78019,0,'Echo of Medivh - Medivh Loose Queen'), +(16816,14,0,'And so, the end draws near',14,0,100,0,0,0,0,78020,0,'Echo of Medivh - Medivh Loose King'), +(16816,15,0,'Nothing less than perfection will do.',14,0,100,0,0,0,0,78021,0,'Echo of Medivh - Checkmate 1'), +(16816,15,1,'And so it ends.',14,0,100,0,0,0,0,78022,0,'Echo of Medivh - Checkmate 2'), +(16816,16,0,'The halls of Karazhan shake, as the curse binding the doors of the Gamesman\'s Hall is lifted.',16,0,100,0,0,0,0,78023,0,'Echo of Medivh - Event Ended'); + +DELETE FROM `broadcast_text` WHERE `ID` IN (78000,78001,78002,78003,78004,78005,78006,78007,78008,78009,78010,78011,78012,78013,78014,78015,78016,78017,78018,78019,78020,78021,78022,78023); +INSERT INTO `broadcast_text` (`ID`, `LanguageID`, `Text`, `Text1`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `SoundEntriesID`, `EmotesID`, `Flags`, `VerifiedBuild`) VALUES +(78000, 0, 'Very well. Let the game begin.', 'Very well. Let the game begin.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78001, 0, 'Perhaps a change is in order.', 'Perhaps a change is in order.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78002, 0, 'Time for an alternative scenario.', 'Time for an alternative scenario.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78003, 0, 'One must not become too complacent.', 'One must not become too complacent.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78004, 0, '%s cheats', '%s cheats', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78005, 0, 'Let us see.', 'Let us see.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78006, 0, 'A transparent stratagem.', 'A transparent stratagem.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78007, 0, 'Ah, the wheels have begun to turn.', 'Ah, the wheels have begun to turn.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78008, 0, 'Foolish! Very foolish!', 'Foolish! Very foolish!', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78009, 0, 'Yes... all according to plan.', 'Yes... all according to plan.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78010, 0, 'The slightest loss of concentration is all it takes.', 'The slightest loss of concentration is all it takes.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78011, 0, 'Now it gets interesting.', 'Now it gets interesting.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78012, 0, 'As it should be.', 'As it should be.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78013, 0, 'Hmm.', 'Hmm.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78014, 0, 'No matter.', 'No matter.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78015, 0, 'Interesting.', 'Interesting.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78016, 0, 'A minor concern.', 'A minor concern.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78017, 0, 'Yes...of course.', 'Yes...of course.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78018, 0, 'A necessary sacrifice.', 'A necessary sacrifice.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78019, 0, 'Ahh, I should have known.', 'Ahh, I should have known.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78020, 0, 'And so, the end draws near', 'And so, the end draws near', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78021, 0, 'Nothing less than perfection will do.', 'Nothing less than perfection will do.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78022, 0, 'And so it ends.', 'And so it ends.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(78023, 0, 'The halls of Karazhan shake, as the curse binding the doors of the Gamesman\'s Hall is lifted.', 'The halls of Karazhan shake, as the curse binding the doors of the Gamesman\'s Hall is lifted.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 0); + +DELETE FROM `gossip_menu_option` WHERE `menuid` IN (8404,7413,8354,8345,8346,8347,8348,8349,8355,8362,8366,8367,8368); +UPDATE `creature_template` SET `npcflag`=0 WHERE `entry` IN (17469,17211,21748,21664,21750,21683,21747,21682,21726,21160,21752,21684); From 0ff05bad7d8656d19ae15d9a86df17ecb28778b4 Mon Sep 17 00:00:00 2001 From: Firelands Bot Date: Wed, 13 Sep 2023 14:19:45 +0000 Subject: [PATCH 2/4] chore(DB): import pending files Referenced commit(s): 5361f5d0e7011fd5bc573843e6c7e912fd813ace --- .../rev_1694611413983407200.sql => db_world/2023_09_13_00.sql} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename data/sql/updates/{pending_db_world/rev_1694611413983407200.sql => db_world/2023_09_13_00.sql} (100%) diff --git a/data/sql/updates/pending_db_world/rev_1694611413983407200.sql b/data/sql/updates/db_world/2023_09_13_00.sql similarity index 100% rename from data/sql/updates/pending_db_world/rev_1694611413983407200.sql rename to data/sql/updates/db_world/2023_09_13_00.sql From 0603d8f82e757c14c480528e79103d3e9e6dd5e3 Mon Sep 17 00:00:00 2001 From: M'Dic Date: Thu, 14 Sep 2023 08:28:44 -0400 Subject: [PATCH 3/4] fix (core): Windows Compile Build Fix (#171) --- .../Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp index 57e3a2f6..51ae932a 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp @@ -551,7 +551,7 @@ struct npc_chosen_one : public ScriptedAI me->DespawnOrUnsummon(); } - void SetGUID(uint64 guid, int32 id) + void SetGUID(ObjectGuid const& guid, int32 id) { if (id == ACTION_CHOISE_TARGET) _targetGUID.Set(guid); @@ -930,4 +930,4 @@ void AddSC_boss_yorsahj() new achievement_taste_the_rainbow("achievement_taste_the_rainbow_2", AC_RED_GREEN); new achievement_taste_the_rainbow("achievement_taste_the_rainbow_3", AC_BLACK_BLUE); new achievement_taste_the_rainbow("achievement_taste_the_rainbow_4", AC_PURPLE_YELLOW); -} \ No newline at end of file +} From 374b582c7d135dfce36c287d5cfc5c65d429e587 Mon Sep 17 00:00:00 2001 From: M'Dic Date: Thu, 14 Sep 2023 08:49:35 -0400 Subject: [PATCH 4/4] chore (core): Fix compile warnings (#172) --- .../CavernsOfTime/DragonSoul/boss_yorsahj.cpp | 36 +++++++++---------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp index 51ae932a..0a4e9d3a 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/boss_yorsahj.cpp @@ -332,7 +332,7 @@ struct boss_yorsahj : public BossAI BossAI::JustEnteredCombat(victim); } - void JustDied(Unit* killer) override + void JustDied(Unit* /*killer*/) override { if (Creature* portal = me->FindNearestCreature(NPC_TRAVEL_TO_WYRMREST_TEMPLE, 200.00f)) portal->SetVisible(true); @@ -450,7 +450,7 @@ struct npc_globule : public ScriptedAI me->ApplySpellImmune(0, IMMUNITY_MECHANIC, MECHANIC_GRIP, true); } - void SpellHit(Unit* caster, SpellInfo const* spellInfo) override + void SpellHit(Unit* /*caster*/, SpellInfo const* spellInfo) override { if (spellInfo->Id == SPELL_FUSING_VAPORS_IMMUNITY) me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); @@ -472,7 +472,7 @@ struct npc_globule : public ScriptedAI } } - void JustDied(Unit* killer) override + void JustDied(Unit* /*killer*/) override { DoCast(me, SPELL_FUSING_VAPORS_IMMUNITY, true); RemoveEncounterFrame(); @@ -511,7 +511,7 @@ class ForgottenOneActivation : public BasicEvent { _summon->SetReactState(REACT_AGGRESSIVE); _summon->SetInCombatWithZone(); - if (Unit* target = _summon->AI()->SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true, -SPELL_FIXATE)) + if (Unit* target = _summon->AI()->SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true, true, -SPELL_FIXATE)) { _summon->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_MOD_TAUNT, true); _summon->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_ATTACK_ME, true); @@ -532,7 +532,7 @@ struct npc_chosen_one : public ScriptedAI { npc_chosen_one(Creature* creature) : ScriptedAI(creature) {} - void IsSummonedBy(Unit* summoner) override + void IsSummonedBy(Unit* /*summoner*/) override { _targetGUID.Set(0); me->SetReactState(REACT_PASSIVE); @@ -544,7 +544,7 @@ struct npc_chosen_one : public ScriptedAI _events.ScheduleEvent(EVENT_PSYCHIC_SLICE, 9000); } - void JustDied(Unit* killer) override + void JustDied(Unit* /*killer*/) override { if (Unit* player = ObjectAccessor::GetUnit(*me, _targetGUID)) player->RemoveAurasDueToSpell(SPELL_FIXATE, me->GetGUID()); @@ -573,15 +573,15 @@ struct npc_mana_void : public ScriptedAI me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_KNOCK_BACK, true); } - bool CanAIAttack(Unit const* victim) const override { return false; } + bool CanAIAttack(Unit const* /*victim*/) const override { return false; } - void JustDied(Unit* killer) override + void JustDied(Unit* /*killer*/) override { DoCast(SPELL_MANA_DIFFUSION); me->DespawnOrUnsummon(1000); } - void IsSummonedBy(Unit* summoner) override + void IsSummonedBy(Unit* /*summoner*/) override { if (Creature* yorsahj = instance->GetCreature(DATA_YORSAHJ_THE_UNSLEEPING)) yorsahj->AI()->JustSummoned(me); @@ -658,9 +658,8 @@ class spell_summon_globule : public SpellScript targets.remove_if([spell](WorldObject* target) -> bool { return !target->GetMap()->IsHeroic() && target->GetEntry() == globuleActivation[spell].entry4; }); } - void HandleVisual(SpellEffIndex effIndex) + void HandleVisual(SpellEffIndex /*effIndex*/) { - uint32 spell = 0; for (Globule const& i : globule) { if (i.entry == GetHitUnit()->GetEntry()) @@ -735,7 +734,7 @@ class spell_mana_diffusion : public SpellScript void FilterTargets(std::list& targets) { _targets = targets.size(); } - void HandleScript(SpellEffIndex effIndex) + void HandleScript(SpellEffIndex /*effIndex*/) { uint32 mana = GetCaster()->ToCreature()->AI()->GetData(DATA_RESTORED_MANA); SetEffectValue(mana / _targets); @@ -764,7 +763,7 @@ class spell_searing_blood : public SpellScript targets.resize(targetcnt); } - void HandleScript(SpellEffIndex effIndex) + void HandleScript(SpellEffIndex /*effIndex*/) { uint32 damage = GetHitDamage(); // guessed value @@ -796,7 +795,7 @@ class spell_fusing_vapors : public AuraScript return false; } - void OnProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo) { wasTriggered = true; } + void OnProc(AuraEffect const* /*aurEff*/, ProcEventInfo& /*eventInfo*/) { wasTriggered = true; } void Register() override { @@ -826,7 +825,7 @@ class spell_digestive_acid : public SpellScript targets.resize(GetCaster()->GetMap()->Is25ManRaid() ? 15 : 5); } - void HandleDummy(SpellEffIndex effIndex) { GetCaster()->CastSpell(GetHitUnit(), GetSpellInfo()->Effects[EFFECT_0].BasePoints, true); } + void HandleDummy(SpellEffIndex /*effIndex*/) { GetCaster()->CastSpell(GetHitUnit(), GetSpellInfo()->Effects[EFFECT_0].BasePoints, true); } void Register() override { @@ -855,7 +854,7 @@ class spell_summon_manavoid : public SpellScript // 109894,109895,109896,109897,109898 class spell_yorsahj_text : public SpellScript { - void HandleYell(SpellEffIndex effIndex) + void HandleYell(SpellEffIndex /*effIndex*/) { for (TextGroups const& i : texts) { @@ -868,7 +867,7 @@ class spell_yorsahj_text : public SpellScript } } - void HandleWhisper(SpellEffIndex effIndex) + void HandleWhisper(SpellEffIndex /*effIndex*/) { for (TextGroups const& i : texts) { @@ -895,12 +894,11 @@ class achievement_taste_the_rainbow : public AchievementCriteriaScript public: achievement_taste_the_rainbow(char const* scriptName, uint8 combination) : AchievementCriteriaScript(scriptName), _combination(combination) {} - bool OnCheck(Player* source, Unit* target) + bool OnCheck(Player* /*source*/, Unit* target) { if (!target) return false; - uint32 amount = 0; if (AuraEffect* aura = target->GetAuraEffect(SPELL_TRACK_ACHIEVEMENT, EFFECT_0)) return (uint8(aura->GetAmount()) & _combination);