From 401c6352b9608dfc700c517a6a65efb4e82338a8 Mon Sep 17 00:00:00 2001 From: SnapperRy Date: Sun, 10 Jul 2016 13:43:26 +0200 Subject: DB/Loot: fix drop conditions and chance for item "Cracked Silithid Carapace" (cherry picked from commit 844921a6156d7c08a2a9eec567e25b3d02803d12) --- .../master/2017_02_05_08_world_2016_07_10_06_world.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sql/updates/world/master/2017_02_05_08_world_2016_07_10_06_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2017_02_05_08_world_2016_07_10_06_world.sql b/sql/updates/world/master/2017_02_05_08_world_2016_07_10_06_world.sql new file mode 100644 index 00000000000..7594560ce2a --- /dev/null +++ b/sql/updates/world/master/2017_02_05_08_world_2016_07_10_06_world.sql @@ -0,0 +1,13 @@ +-- +UPDATE `creature_loot_template` SET `Chance`=100 WHERE `Item`=5877; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceEntry`=5877; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(1, 4130, 5877, 0, 0, 8, 0, 1147, 0, 0, 0, 0, 0, "", "Item 'Cracked Silithid Carapace' can be looted if quest 'The Swarm Grows' is taken OR"), +(1, 4131, 5877, 0, 0, 8, 0, 1147, 0, 0, 0, 0, 0, "", "Item 'Cracked Silithid Carapace' can be looted if quest 'The Swarm Grows' is taken OR"), +(1, 4132, 5877, 0, 0, 8, 0, 1147, 0, 0, 0, 0, 0, "", "Item 'Cracked Silithid Carapace' can be looted if quest 'The Swarm Grows' is taken OR"), +(1, 4133, 5877, 0, 0, 8, 0, 1147, 0, 0, 0, 0, 0, "", "Item 'Cracked Silithid Carapace' can be looted if quest 'The Swarm Grows' is taken OR"), +(1, 4130, 5877, 0, 1, 9, 0, 1147, 0, 0, 0, 0, 0, "", "Item 'Cracked Silithid Carapace' can be looted if quest 'The Swarm Grows' is rewarded"), +(1, 4131, 5877, 0, 1, 9, 0, 1147, 0, 0, 0, 0, 0, "", "Item 'Cracked Silithid Carapace' can be looted if quest 'The Swarm Grows' is rewarded"), +(1, 4132, 5877, 0, 1, 9, 0, 1147, 0, 0, 0, 0, 0, "", "Item 'Cracked Silithid Carapace' can be looted if quest 'The Swarm Grows' is rewarded"), +(1, 4133, 5877, 0, 1, 9, 0, 1147, 0, 0, 0, 0, 0, "", "Item 'Cracked Silithid Carapace' can be looted if quest 'The Swarm Grows' is rewarded"); -- cgit v1.2.3