diff --git a/data/sql/updates/db_world/2023_04_04_00.sql b/data/sql/updates/db_world/2023_04_04_00.sql new file mode 100644 index 000000000..252b2851f --- /dev/null +++ b/data/sql/updates/db_world/2023_04_04_00.sql @@ -0,0 +1,5 @@ +-- DB update 2023_04_03_00 -> 2023_04_04_00 +-- Blood of the Mountain +DELETE FROM `creature_loot_template` WHERE `Item` = 11382; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(11659, 11382, 0, 7.1259, 0, 1, 0, 1, 1, 'Molten Destroyer - Blood of the Mountain'); diff --git a/data/sql/updates/db_world/2023_04_04_01.sql b/data/sql/updates/db_world/2023_04_04_01.sql new file mode 100644 index 000000000..56e5487ed --- /dev/null +++ b/data/sql/updates/db_world/2023_04_04_01.sql @@ -0,0 +1,13 @@ +-- DB update 2023_04_04_00 -> 2023_04_04_01 +-- Jesse Masters +DELETE FROM `gossip_menu` WHERE `MenuID` = 9798 AND `TextID` = 13502; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES +(9798, 13502); + +DELETE FROM `conditions` WHERE `SourceGroup` = 9798 AND `SourceTypeOrReferenceId` IN (14,15); +DELETE FROM `conditions` WHERE `SourceGroup` = 29244 AND `SourceTypeOrReferenceId` = 23; + +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 9798, 13503, 0, 0, 8, 0, 12212, 0, 0, 0, 0, 0, '', 'Jesse Masters - Show gossip menu 9798 VENDOR only if quest 12212 have been rewarded.'), +(15, 9798, 0, 0, 0, 8, 0, 12212, 0, 0, 0, 0, 0, '', 'Jesse Masters - Show gossip menu 9798 option VENDOR only if quest 12212 have been rewarded.'), +(23, 29244, 40202, 0, 0, 8, 0, 12216, 0, 0, 0, 0, 0, '', 'Jesse Masters - Sell Sizzling Grizzly Flank only if quest 12216 has been rewarded.'); diff --git a/data/sql/updates/db_world/2023_04_04_02.sql b/data/sql/updates/db_world/2023_04_04_02.sql new file mode 100644 index 000000000..9796a3987 --- /dev/null +++ b/data/sql/updates/db_world/2023_04_04_02.sql @@ -0,0 +1,12 @@ +-- DB update 2023_04_04_01 -> 2023_04_04_02 +-- ID 8397 (Sentinel Keldara Sunblade) +DELETE FROM `creature_addon` WHERE (`guid` IN (35937)); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(35937, 0, 0, 0, 1, 0, 0, ''); + +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 8397; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 8397); +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 +(8397, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 91, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sentinel Keldara Sunblade - On Aggro - Remove FlagStandstate Dead'), +(8397, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 90, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sentinel Keldara Sunblade - On Reset - Set Flag Standstate Dead'); diff --git a/data/sql/updates/db_world/2023_04_04_03.sql b/data/sql/updates/db_world/2023_04_04_03.sql new file mode 100644 index 000000000..42a2191a0 --- /dev/null +++ b/data/sql/updates/db_world/2023_04_04_03.sql @@ -0,0 +1,28 @@ +-- DB update 2023_04_04_02 -> 2023_04_04_03 +-- Remove old/deprecated bytes2 flags. +UPDATE `creature_addon` SET `bytes2` = 1 WHERE `bytes2` IN (257,733,4097,301993985,318771201,285216769,234885121); +UPDATE `creature_addon` SET `bytes2` = 0 WHERE `bytes2` IN (256,4092,4096); +UPDATE `creature_addon` SET `bytes2` = 2 WHERE `bytes2` IN (258,4098); + +UPDATE `creature_template_addon` SET `bytes2` = 1 WHERE `bytes2` IN (3,69,257,2049,2305,4097,10241,133121,234885121,285216769); +UPDATE `creature_template_addon` SET `bytes2` = 0 WHERE `bytes2` IN (256,4092,4096,65536); +UPDATE `creature_template_addon` SET `bytes2` = 2 WHERE `bytes2` IN (258,4098); + +-- Creature where neither of the values in creature_addon were used. +DELETE FROM `creature_addon` WHERE `guid` IN (75829,77583,77606,77607,82379,73192,80419,81738,82004,32943); + +-- Incorrect mob spawns (wrong zone/area/sniffed as a pet (with spirit bond)) +-- Blackwind Sabercat +DELETE FROM `creature` WHERE (`guid` = 75829 AND `id1` = 21723); +-- Scorpid Bonecrawler +DELETE FROM `creature` WHERE (`guid` = 77583 AND `id1` = 22100); +-- Elder Springpaw +DELETE FROM `creature` WHERE (`guid` = 82379 AND `id1` = 15652); +-- Scalewing Serpent +DELETE FROM `creature` WHERE (`guid` = 73192 AND `id1` = 20749); +-- Stunetusk Boar +DELETE FROM `creature` WHERE (`guid` = 80419 AND `id1` = 113); + + +-- Hatecrest Warrior defensive stance, Grimtotem Raider berserk stance, handled by SAI +UPDATE `creature_addon` SET `auras` = '' WHERE `guid` IN (51476,50009); diff --git a/data/sql/updates/db_world/2023_04_04_04.sql b/data/sql/updates/db_world/2023_04_04_04.sql new file mode 100644 index 000000000..70d3b4531 --- /dev/null +++ b/data/sql/updates/db_world/2023_04_04_04.sql @@ -0,0 +1,11 @@ +-- DB update 2023_04_04_03 -> 2023_04_04_04 +-- +-- Slows the repeat behavior of NPCs 263 (Lord Ello Ebonlocke), 269 (Role Dreuger), 270 (Councilman Millstripe), 271 (Ambassador Berrybuck), and 325 (Hogan Ference) dialogue to be more correctly timed +UPDATE `smart_scripts` SET `event_param3`=1306000, `event_param4`=1407000 WHERE `entryorguid`=263 AND `source_type`=0 AND `id`=1 AND `link`=0 AND `action_type`=1; +UPDATE `smart_scripts` SET `event_param3`=1052000, `event_param4`=1634000 WHERE `entryorguid`=269 AND `source_type`=0 AND `id`=0 AND `link`=0 AND `action_type`=1; +UPDATE `smart_scripts` SET `event_param3`=1394000, `event_param4`=1604000 WHERE `entryorguid`=270 AND `source_type`=0 AND `id`=0 AND `link`=0 AND `action_type`=1; +UPDATE `smart_scripts` SET `event_param3`=721000, `event_param4`=1607000 WHERE `entryorguid`=271 AND `source_type`=0 AND `id`=0 AND `link`=0 AND `action_type`=1; +UPDATE `smart_scripts` SET `event_param3`=305000, `event_param4`=355000 WHERE `entryorguid`=325 AND `source_type`=0 AND `id`=0 AND `link`=0 AND `action_type`=1; + +-- Slows repeat behavior of Commander Althea Ebonlocke (NPC 264) text broadcasts +UPDATE `smart_scripts` SET `event_param3`=1202000, `event_param4`=3026000 WHERE `entryorguid`=264 AND `source_type`=0 AND `id`=1 AND `link`=0 AND `action_type`=1; diff --git a/data/sql/updates/db_world/2023_04_04_05.sql b/data/sql/updates/db_world/2023_04_04_05.sql new file mode 100644 index 000000000..6b903bab2 --- /dev/null +++ b/data/sql/updates/db_world/2023_04_04_05.sql @@ -0,0 +1,37 @@ +-- DB update 2023_04_04_04 -> 2023_04_04_05 +-- ID 3374 (Bael'dun Excavator) +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3374); +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 +(3374, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Excavator - Between 0-15% Health - Flee For Assist (No Repeat)'), +(3374, 0, 1, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 11, 7164, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Excavator - On Aggro - Cast \'Defensive Stance\' (No Repeat)'), +(3374, 0, 2, 0, 0, 0, 100, 0, 5000, 20000, 10000, 30000, 0, 11, 7386, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Excavator - In Combat - Cast \'Sunder Armor\''); + +-- ID 3375 (Bael'dun Foreman) +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3375); +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 +(3375, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Foreman - Between 0-15% Health - Flee For Assist (No Repeat)'), +(3375, 0, 1, 0, 0, 0, 100, 0, 0, 20000, 27000, 35000, 0, 11, 6257, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Foreman - In Combat - Cast \'Torch Toss\''); + +-- ID 3376 (Bael'dun Soldier) +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3376); +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 +(3376, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Soldier - Between 0-15% Health - Flee For Assist (No Repeat)'); + +-- ID 3377 (Bael'dun Rifleman) +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3377); +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 +(3377, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Rifleman - Between 0-15% Health - Flee For Assist (No Repeat)'), +(3377, 0, 1, 0, 0, 0, 100, 0, 0, 0, 2300, 3900, 0, 11, 6660, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Rifleman - In Combat - Cast \'Shoot\''); + +-- ID 3378 (Bael'dun Officer) -- Thrash (2 attacks) - move from SAI to _addon +UPDATE `creature_template_addon` SET `auras` = '8876' WHERE (`entry` = 3378); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3378); +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 +(3378, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Officer - Between 0-15% Health - Flee For Assist (No Repeat)'), +(3378, 0, 1, 0, 0, 0, 100, 0, 0, 20000, 45000, 60000, 0, 11, 6264, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bael\'dun Officer - In Combat - Cast \'Nimble Reflexes\''); + +-- ID 3392 (Prospector Khazgorm) +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3392); +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 +(3392, 0, 0, 0, 0, 0, 100, 0, 7000, 14000, 10000, 16000, 0, 11, 6253, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Prospector Khazgorm - In Combat - Cast \'Backhand\''); diff --git a/data/sql/updates/db_world/2023_04_04_06.sql b/data/sql/updates/db_world/2023_04_04_06.sql new file mode 100644 index 000000000..b9fd332ed --- /dev/null +++ b/data/sql/updates/db_world/2023_04_04_06.sql @@ -0,0 +1,13 @@ +-- DB update 2023_04_04_05 -> 2023_04_04_06 +-- ID 7879 (Quintis Jonespyre) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 7879; + +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 7879; +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 +(7879, 0, 0, 0, 20, 0, 100, 0, 4129, 0, 0, 0, 0, 80, 787900, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Quintis Jonespyre - On Quest \'The Knife Revealed\' Finished - Run Script'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=787900 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 +(787900, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Quintis Jonespyre - Actionlist - Say Line 0'), +(787900, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 11, 15050, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Quintis Jonespyre - Actionlist - Cast \'Psychometry\''), +(787900, 9, 2, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Quintis Jonespyre - Actionlist - Say Line 1'); diff --git a/data/sql/updates/db_world/2023_04_04_07.sql b/data/sql/updates/db_world/2023_04_04_07.sql new file mode 100644 index 000000000..848dc0d9e --- /dev/null +++ b/data/sql/updates/db_world/2023_04_04_07.sql @@ -0,0 +1,84 @@ +-- DB update 2023_04_04_06 -> 2023_04_04_07 +-- Steamvault +DELETE FROM `creature_onkill_reputation` WHERE (`creature_id` IN (17721,17722,17796,17797,17798,17799,17800,17801,17802,17803,17805,17917,17951,17954,20926,21338,21694,21695,21696,20620,20621,20622,20623,20624,20625,20626,20627,20628,20629,20630,20631,20632,20633,21914,21915,21916,21917)); +INSERT INTO `creature_onkill_reputation` (`creature_id`, `RewOnKillRepFaction1`, `RewOnKillRepFaction2`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `MaxStanding2`, `IsTeamAward2`, `RewOnKillRepValue2`, `TeamDependent`) VALUES +(17721, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Coilfang Engineer +(17722, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Coilfang Sorceress +(17796, 942, 0, 7, 0, 120, 0, 0, 0, 0), -- Mekgineer Steamrigger +(17797, 942, 0, 7, 0, 120, 0, 0, 0, 0), -- Hydromancer Thespia +(17798, 942, 0, 7, 0, 120, 0, 0, 0, 0), -- Warlord Kalithresh +(17799, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Dreghood Slave +(17800, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Coilfang Myrmidon +(17801, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Coilfang Siren +(17802, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Coilfang Warrior +(17803, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Coilfang Oracle +(17805, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Coilfang Slavemaster +(17917, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Coilfang Water Elemental +(21338, 942, 0, 7, 0, 2, 0, 0, 0, 0), -- Coilfang Leper +(21694, 942, 0, 7, 0, 24, 0, 0, 0, 0), -- Bog Overlord +(21695, 942, 0, 7, 0, 12, 0, 0, 0, 0), -- Tidal Surger +(21696, 942, 0, 7, 0, 2, 0, 0, 0, 0), -- Steam Surger +-- Heroic +(20620, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Coilfang Engineer +(20621, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Coilfang Myrmidon +(20622, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Coilfang Oracle +(20623, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Coilfang Siren +(20624, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Coilfang Slavemaster +(20625, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Coilfang Sorceress +(20626, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Coilfang Warrior +(20627, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Coilfang Water Elemental +(20628, 942, 0, 7, 0, 15, 0, 0, 0, 0), -- Dreghood Slave +(20629, 942, 0, 7, 0, 250, 0, 0, 0, 0), -- Hydromancer Thespia +(20630, 942, 0, 7, 0, 250, 0, 0, 0, 0), -- Mekgineer Steamrigger +(20633, 942, 0, 7, 0, 250, 0, 0, 0, 0), -- Warlord Kalithresh +(21914, 942, 0, 7, 0, 30, 0, 0, 0, 0), -- Bog Overlord +(21915, 942, 0, 7, 0, 3, 0, 0, 0, 0), -- Coilfang Leper +(21916, 942, 0, 7, 0, 3, 0, 0, 0, 0), -- Steam Surger +(21917, 942, 0, 7, 0, 15, 0, 0, 0, 0); -- Tidal Surger + +-- Shadow Labyrinth +DELETE FROM `creature_onkill_reputation` WHERE (`creature_id` IN (19208,19209,20660,20661,18631,18632,18633,18634,18635,18636,18637,18638,18639,18640,18641,18642,18667,18708,18731,18732,18794,18796,18797,18830,18848,18891,20636,20637,20638,20639,20640,20641,20642,20643,20644,20645,20646,20647,20648,20649,20650,20651,20652,20653,20656,20657,20659,20662,18663,20655)); +INSERT INTO `creature_onkill_reputation` (`creature_id`, `RewOnKillRepFaction1`, `RewOnKillRepFaction2`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `MaxStanding2`, `IsTeamAward2`, `RewOnKillRepValue2`, `TeamDependent`) VALUES +(18631, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Cultist +(18632, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Executioner +(18633, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Acolyte +(18634, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Summoner +(18635, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Deathsworn +(18636, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Assassin +(18637, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Shadow Priest +(18638, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Zealot +(18639, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Spellbinder +(18640, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Warlock +(18641, 1011, 0, 7, 0, 2, 0, 0, 0, 0), -- Cabal Familiar +(18642, 1011, 0, 7, 0, 2, 0, 0, 0, 0), -- Fel Guardhound +(18663, 1011, 0, 7, 0, 2, 0, 0, 0, 0), -- Maiden of Discipline +(18667, 1011, 0, 7, 0, 120, 0, 0, 0, 0), -- Blackheart the Inciter +(18708, 1011, 0, 7, 0, 120, 0, 0, 0, 0), -- Murmur +(18731, 1011, 0, 7, 0, 120, 0, 0, 0, 0), -- Ambassador Hellmaw +(18732, 1011, 0, 7, 0, 120, 0, 0, 0, 0), -- Grandmaster Vorpil +(18794, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Ritualist +(18796, 1011, 0, 7, 0, 24, 0, 0, 0, 0), -- Fel Overseer +(18830, 1011, 0, 7, 0, 12, 0, 0, 0, 0), -- Cabal Fanatic +(18848, 1011, 0, 7, 0, 24, 0, 0, 0, 0), -- Malicious Instructor +-- Heroic +(20636, 1011, 0, 7, 0, 250, 0, 0, 0, 0), -- Ambassador Hellmaw +(20637, 1011, 0, 7, 0, 250, 0, 0, 0, 0), -- Blackheart the Inciter +(20638, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Acolyte +(20639, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Assassin +(20640, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Cultist +(20641, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Deathsworn +(20642, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Executioner +(20643, 1011, 0, 7, 0, 3, 0, 0, 0, 0), -- Cabal Familiar +(20644, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Fanatic +(20645, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Ritualist +(20646, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Shadow Priest +(20647, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Spellbinder +(20648, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Summoner +(20649, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Warlock +(20650, 1011, 0, 7, 0, 15, 0, 0, 0, 0), -- Cabal Zealot +(20651, 1011, 0, 7, 0, 3, 0, 0, 0, 0), -- Fel Guardhound +(20652, 1011, 0, 7, 0, 30, 0, 0, 0, 0), -- Fel Overseer +(20653, 1011, 0, 7, 0, 250, 0, 0, 0, 0), -- Grandmaster Vorpil +(20655, 1011, 0, 7, 0, 3, 0, 0, 0, 0), -- Maiden of Discipline +(20656, 1011, 0, 7, 0, 30, 0, 0, 0, 0), -- Malicious Instructor +(20657, 1011, 0, 7, 0, 250, 0, 0, 0, 0); -- Murmur diff --git a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp index 458847e0a..1b07ed48d 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp @@ -1445,8 +1445,13 @@ public: return false; } - bool CheckRequiredBosses(uint32 bossId, Player const* /*player*/) const override + bool CheckRequiredBosses(uint32 bossId, Player const* player) const override { + if (player->GetSession()->GetSecurity() >= SEC_MODERATOR) + { + return true; + } + switch (bossId) { case DATA_THE_LICH_KING: