From 5040fd2558aa259d7280ae40af54b698a17c482b Mon Sep 17 00:00:00 2001 From: Kinzcool Date: Mon, 28 Jan 2013 21:59:12 -0500 Subject: DB/Gameobjects: Set proper state for ToCr doors and fixed looting of Venomhide Egg & Discarded Soul Crystal --- sql/updates/world/2013_01_28_00_world_gameobject.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/world/2013_01_28_00_world_gameobject.sql (limited to 'sql/updates') diff --git a/sql/updates/world/2013_01_28_00_world_gameobject.sql b/sql/updates/world/2013_01_28_00_world_gameobject.sql new file mode 100644 index 00000000000..3f49d799c62 --- /dev/null +++ b/sql/updates/world/2013_01_28_00_world_gameobject.sql @@ -0,0 +1,8 @@ +-- Doors should be closed +UPDATE `gameobject` SET `state`=1 WHERE `guid` IN (150074, 150073, 150077); + +-- Duplicated Gameobject +DELETE FROM `gameobject` WHERE `guid`=150081; + +-- Fix loots +UPDATE `gameobject_loot_template` SET `ChanceOrQuestChance`=-100 WHERE `entry` IN (27310, 27239); -- cgit v1.2.3 From 8183f70ae0635862c460fb63e88e930076947843 Mon Sep 17 00:00:00 2001 From: w1sht0l1v3 Date: Tue, 29 Jan 2013 05:14:02 +0200 Subject: DB/Loot: Add Cache of the Ley-Guardian to heroic Oculus loot when RDF aura is present. Closes #6927 --- sql/updates/world/2013_01_29_00_world_gameobject_loot_template.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sql/updates/world/2013_01_29_00_world_gameobject_loot_template.sql (limited to 'sql/updates') diff --git a/sql/updates/world/2013_01_29_00_world_gameobject_loot_template.sql b/sql/updates/world/2013_01_29_00_world_gameobject_loot_template.sql new file mode 100644 index 00000000000..32146fb9ef8 --- /dev/null +++ b/sql/updates/world/2013_01_29_00_world_gameobject_loot_template.sql @@ -0,0 +1,7 @@ +DELETE FROM `gameobject_loot_template` WHERE `entry`=24524 AND `item`=52676; +INSERT INTO `gameobject_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES +(24524,52676,100,1,0,1,1); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=4 AND `SourceGroup`=24524 AND `SourceEntry`=52676; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(4,24524,52676,0,0,1,0,72221,0,0,0,0,0,'','Loot Cache of the Ley-Guardian only when aura Luck of the Draw applied'); -- cgit v1.2.3