diff --git a/data/sql/world/base/zone_orgrimmar.sql b/data/sql/world/base/zone_orgrimmar.sql index d45577e..57a9e4d 100644 --- a/data/sql/world/base/zone_orgrimmar.sql +++ b/data/sql/world/base/zone_orgrimmar.sql @@ -420,7 +420,7 @@ INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `ExtendedCost /* Hide certain vendor items until the player has reached the progression tier for them */ -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 23 AND `SourceGroup` IN (12796, @LP_Classic, @LP_TBC, @TH_Classic, @TH_TBC); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 23 AND `SourceGroup` IN (12796, @LP_Classic, @LP_TBC, @TH_Classic, @TH_TBC) AND `ConditionValue1` IN (66002, 66006, 66008); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES -- diff --git a/data/sql/world/base/zone_stormwind.sql b/data/sql/world/base/zone_stormwind.sql index 1b98c90..93caed2 100644 --- a/data/sql/world/base/zone_stormwind.sql +++ b/data/sql/world/base/zone_stormwind.sql @@ -330,7 +330,7 @@ INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `ExtendedCost (24672, 31643, 0, 0, 2265), (24672, 31644, 0, 0, 2267); /* Hide certain vendor items until the player has reached the progression tier for them */ -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 23 AND `SourceGroup` IN (12777, 12782, 12783, 26394); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 23 AND `SourceGroup` IN (12777, 12782, 12783, 26394) AND `ConditionValue1` IN (66002, 66006, 66008); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES --