diff --git a/data/sql/world/base/00_cleanup.sql b/data/sql/world/base/00_cleanup.sql index 8ee7af2..cbaecb5 100644 --- a/data/sql/world/base/00_cleanup.sql +++ b/data/sql/world/base/00_cleanup.sql @@ -15,6 +15,9 @@ DELETE FROM `game_event_creature` WHERE `guid` IN (208207, 208240, 208251, 20835 -- remove AzerothCore area triggers used by WotLK Scourge Invasion Event DELETE FROM `areatrigger_involvedrelation` WHERE `id` IN (4092, 4094, 4095, 4096, 4098, 4099, 4100, 4101, 4103, 4104, 4105, 5151, 5152, 5153, 5154, 5158, 5159, 5160, 5161); +-- undo Shattrath phasing, now done with phasemask +UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` IN (18594, 25167, 27666, 27667); + -- pvp rank requirements no longer needed UPDATE `item_template` SET `requiredhonorrank` = 0 WHERE `entry` IN (18241, 18242, 18243, 18244, 18245, 18246, 18247, 18248, 18834, 18845, 18846, 18849, 18850, 18851, 18852, 18853, 18854, 18856, 18857, 18858, 18859, 18862, 18863, 18864, 29592, 29593); diff --git a/data/sql/world/base/ipp_aware_npcs.sql b/data/sql/world/base/ipp_aware_npcs.sql index 527692b..73fbb35 100644 --- a/data/sql/world/base/ipp_aware_npcs.sql +++ b/data/sql/world/base/ipp_aware_npcs.sql @@ -64,8 +64,7 @@ UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_tbc_t4' WHERE `entry` IN UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_tbc_t4' WHERE `entry` IN (18754, 18771, 19187, 21087); -- TBC, phasing Shattered Sun offensive NPCs in Shattrath -UPDATE `creature` SET `phaseMask` = @IPPPHASE WHERE `id1` IN (17076, 19475, 24932, 24938, 25115, 25134, 25135, 25136, 25137, 25138, 25141, 25142, 25143, 25153, 25155); -UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_tbc_t5' WHERE `entry` IN (18594, 25167, 27666, 27667); +UPDATE `creature` SET `phaseMask` = @IPPPHASE WHERE `id1` IN (17076, 19475, 24932, 24938, 25115, 25134, 25135, 25136, 25137, 25138, 25141, 25142, 25143, 25153, 25155, 25167, 27666, 27667); -- TBC, Terrace of Light, phasing T5 game objects UPDATE `gameobject_template` SET `ScriptName` = 'gobject_ipp_tbc_t4' WHERE `entry` IN diff --git a/data/sql/world/base/zone_shattrath.sql b/data/sql/world/base/zone_shattrath.sql index d469b5b..4f17145 100644 --- a/data/sql/world/base/zone_shattrath.sql +++ b/data/sql/world/base/zone_shattrath.sql @@ -3,12 +3,15 @@ DELETE FROM `npc_vendor` WHERE `entry`=18756 AND `item`=38089 AND `ExtendedCost` INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (18756, 0, 38089, 1, 1800, 0, 0); - /* Hide certain vendor items until the player has reached the progression tier for them */ -DELETE FROM `conditions` WHERE `SourceEntry` IN (34200, 34201); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `ConditionTypeOrReference` = 8 AND `SourceEntry` IN (11481, 11482); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 23 AND `ConditionTypeOrReference` = 8 AND `SourceEntry` IN (34200, 34201); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES --- +-- +(19, 0, 11481, 0, 0, 8, 0, 66012, 0, 0, 0, 0, 0, '', 'Hide \'Crisis at the Sunwell\' until the player reaches TBC T5'), +(19, 0, 11482, 0, 0, 8, 0, 66012, 0, 0, 0, 0, 0, '', 'Hide \'Duty Calls\' until the player reaches TBC T5'), +-- (23, 21655, 34200, 0, 0, 8, 0, 66011, 0, 0, 0, 0, 0, '', 'Nakodu will not sell Pattern: Quiver of a Thousand Feathers until the player has completed PROGRESSION_TBC_TIER_3'), (23, 17585, 34201, 0, 0, 8, 0, 66011, 0, 0, 0, 0, 0, '', 'Urgronn will not sell Pattern: Netherscale Ammo Pouch until the player has completed PROGRESSION_TBC_TIER_3'), (23, 17657, 34201, 0, 0, 8, 0, 66011, 0, 0, 0, 0, 0, '', 'Ulrike will not sell Pattern: Netherscale Ammo Pouch until the player has completed PROGRESSION_TBC_TIER_3'); diff --git a/src/IndividualProgressionAwarenessScripts.cpp b/src/IndividualProgressionAwarenessScripts.cpp index f4a13d8..da87c7c 100644 --- a/src/IndividualProgressionAwarenessScripts.cpp +++ b/src/IndividualProgressionAwarenessScripts.cpp @@ -761,7 +761,7 @@ void AddSC_mod_individual_progression_awareness() new npc_ipp_tbc(); new npc_ipp_tbc_pre_t4(); new npc_ipp_tbc_t4(); - new npc_ipp_tbc_t5(); + // new npc_ipp_tbc_t5(); new npc_ipp_wotlk(); new npc_ipp_wotlk_ulduar(); new npc_ipp_wotlk_totc();