aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2021-11-06 10:04:33 +0100
committerGitHub <noreply@github.com>2021-11-06 10:04:33 +0100
commitd9baa1708961a4f2a08df807fc1f70d59a538c19 (patch)
tree0e9974134582a1c524a2e90e3fbcf27863d7b23e
parent7cdc9f623f0cf4c6fee6d878868f81260f85b01c (diff)
DB/Quest: WANTED: James Clark
closes #27162 by shamage
-rw-r--r--sql/updates/world/master/2021_11_06_02_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_11_06_02_world.sql b/sql/updates/world/master/2021_11_06_02_world.sql
new file mode 100644
index 00000000000..1605114015c
--- /dev/null
+++ b/sql/updates/world/master/2021_11_06_02_world.sql
@@ -0,0 +1,12 @@
+--
+UPDATE `creature_template` SET `lootid`=13159 WHERE `entry`=13159;
+
+DELETE FROM `creature_loot_template` WHERE `Entry`=13159;
+INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
+(13159, 1307, 0, 100, 0, 1, 0, 1, 1, 'Gold Pickup Schedule'),
+(13159, 57122, 0, 100, 1, 1, 0, 1, 1, 'James Clark\'s Head');
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 1 AND `SourceGroup`=13159 AND `SourceEntry`=1307;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
+(1, 13159, 1307, 0, 0, 14, 0, 123, 0, 0, 0, 'Looter has never finished nor has active quest The Collector (123)'),
+(1, 13159, 1307, 0, 0, 6, 0, 469, 0, 0, 0, 'Looter belongs to Alliance');