What's new

ItemID: 5463 Glowing Gem drops without having quest v7.0.2

mastermind

Silver Supporter
Senior User
188
2017
13
Location
PA, USA
Fixes item dropping without having the quest.

Code:
-- -------------------------------------------------------------------------------------------------------
-- Repack version:               7.0.2
-- ItemID: 5463 Glowing Gem
-- QuestID: 26464 The Lost Gem  - fixes issue for quest item dropping even if you do not have the quest.
-- NPCID: 33444 Harbinger Aphotic
-- NPCID: 33419 Tendril from Below
-- -------------------------------------------------------------------------------------------------------
DELETE FROM `conditions` WHERE `SourceGroup` IN (33419, 33444) AND `SourceEntry` = 5463 AND `ConditionValue1` = 26464;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES 
(1, 33419, 5463, 0, 1, 9, 0, 26464, 0, 0, 0, 0, 0, '', 'Creature Loot, only drop if player has quest'),
(1, 33444, 5463, 0, 1, 9, 0, 26464, 0, 0, 0, 0, 0, '', 'Creature Loot, only drop if player has quest');

DELETE FROM `conditions` WHERE `SourceGroup` IN (33419, 33444) AND `SourceEntry` = 5463 AND `ConditionValue1` IN (33419, 33444);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES 
(1, 33419, 5463, 0, 1, 29, 1, 33419, 20, 0, 0, 0, 0, '', 'Creature Loot, only happen if creature distance is 20'),
(1, 33444, 5463, 0, 1, 29, 1, 33444, 20, 0, 0, 0, 0, '', 'Creature Loot, only happen if creature distance is 20');
 
Top