View difference between Paste ID: nSEiLGCw and GU3FQkqD
SHOW: | | - or go back to the newest paste.
1
--Relics of the Sun King
2
3
UPDATE `creature_template` SET `questItem1`=63081 WHERE  `entry`=45905;
4
5
DELETE FROM `creature_loot_template` WHERE  `entry`=45905 AND `item`=63081;
6
INSERT INTO `creature_loot_template` (`entry`,  `item`,  `ChanceOrQuestChance`,  `lootmode`,  `groupid`,  `mincountOrRef`,  `maxcount`) VALUES 
7-
(45905, 63081, 65.35, 1, 0, 1, 1);
7+
(45905, 63081, 65.35, 1, 0, 1, 1);
8
9
DELETE FROM `conditions` WHERE `SourceGroup`=45905;
10
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
11
(1, 45905, 63081, 0, 0, 9, 0, 28141, 0, 0, 0, 0, '', 'show loot if player has quest');