Skip to content

Commit 6545b94

Browse files
committed
Misc Lights Hope DB fixes
Fix Faction for Spirestone Battle Lord 9218 Add some immunities and schoolimmunities for some Fire mobs classicmangos only! diffed with vmangos race condition drops, items that are race specific drops Pink Mageweave Shirt & other items in these vendors are limited stock Revamp Molten Core Epic Items (T1 Bracers & Belt) - Chance might still be too low, but better then befor. Tameable pets remove immunities, update with trugge research Improve Dropchance for i.18972,18969 Move Jinxed hoodoo pile loot back to gameobject_loot_template and improve it further A Letter to Yvette i.2839 can be looted by alliance, add more npcs dropping it Readd Harvester Head missing in tbcmangos and classicmangos i.20310 Flayed Demon Skin can be looted by alliance, correct chance Based on lh-server/core@119dac1
1 parent fddd1fb commit 6545b94

File tree

1 file changed

+170
-0
lines changed

1 file changed

+170
-0
lines changed
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
-- Add your query below.
2+
-- https://github.com/lh-server/core/commit/119dac1e342226556168b0cf73945ee0b405b961
3+
4+
-- Spirestone faction
5+
UPDATE `creature_template` SET `faction`=40 WHERE `entry` = 9218; -- Spirestone Battle Lord 14
6+
7+
-- Fire mobs immunities
8+
-- https://github.com/elysium-project/server/issues/2716
9+
UPDATE `creature_template` SET `MechanicImmuneMask`= MechanicImmuneMask | 25090 -- MECHANIC_DISORIENTED MECHANIC_SLEEP MECHANIC_KNOCKOUT MECHANIC_BLEED
10+
WHERE entry IN (575,2745,2760,3417,4036,4037,4038,5850,5852,5893,5896,6520,6521,7266,7738,8281,8909,8910,8911,9026,9178,9376,9878,9879,14460,14461,15209,17003);
11+
UPDATE `creature_template` SET `SchoolImmuneMask` = `SchoolImmuneMask`|4 WHERE `entry` IN ( -- missing fire immunity, confirmed with trugge research <3
12+
3417, -- Living Flame 0
13+
4037, -- Burning Ravager 0
14+
5896, -- Fire Spirit 0
15+
9026, -- Overmaster Pyron 0
16+
9178, -- Burning Spirit 0
17+
9376, -- Blazerunner 0
18+
9879, -- Entropic Horror 0
19+
15209, -- Crimson Templar 0
20+
17003 -- Cinder Elemental 0
21+
);
22+
-- this guy has more extensive immunities
23+
UPDATE `creature_template` SET `MechanicImmuneMask` = 42106738 WHERE `entry` = 9026; -- Overmaster Pyron
24+
25+
-- classicmangos only! diffed with vmangos race condition drops
26+
-- Vek'nilash and Viscidus loot
27+
-- https://github.com/elysium-project/server/issues/1133
28+
-- UPDATE `creature_loot_template` SET `condition_id`=3 WHERE `item` IN (21624,21607); -- one is shaman gear, so horde/alliance condition_id
29+
-- UPDATE `creature_loot_template` SET `condition_id`=4 WHERE `item` IN (21606,21623); -- one is paladin gear, so horde/alliance condition_id
30+
-- UPDATE `creature_loot_template` SET `condition_id`=4 WHERE `item` = 21889; -- https://www.wowhead.com/tbc/item=21889/gloves-of-the-redeemed-prophecy
31+
-- UPDATE `creature_loot_template` SET `condition_id`=4 WHERE `item` IN (23668,23667,23666); -- paladin naxx gear
32+
-- UPDATE `creature_loot_template` SET `condition_id`=3 WHERE `item` IN (23663,23664,23665); -- not 100% sure about 23663, but makes it even, shaman naxx gear - https://www.wowhead.com/classic/item=23664/pauldrons-of-elemental-fury#comments:id=2698041
33+
34+
-- Pink Mageweave Shirt
35+
-- https://github.com/elysium-project/server/issues/2994
36+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 2 WHERE `entry`=8681 AND `item`=10314; -- Pattern: Lavender Mageweave Shirt 2
37+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 1 WHERE `entry`=8681 AND `item`=10317; -- Pattern: Pink Mageweave Shirt 1
38+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 3 WHERE `entry`=8681 AND `item`=10321; -- Pattern: Tuxedo Shirt 3
39+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 4 WHERE `entry`=8681 AND `item`=10323; -- Pattern: Tuxedo Pants 4
40+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 5 WHERE `entry`=8681 AND `item`=10326; -- Pattern: Tuxedo Jacket 5
41+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 2 WHERE `entry`=4577 AND `item`=5772; -- Pattern: Red Woolen Bag 2
42+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 1 WHERE `entry`=4577 AND `item`=6275; -- Pattern: Greater Adept's Robe 1
43+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 3 WHERE `entry`=4577 AND `item`=10321; -- Pattern: Tuxedo Shirt 3
44+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 4 WHERE `entry`=4577 AND `item`=10323; -- Pattern: Tuxedo Pants 4
45+
UPDATE `npc_vendor` SET `maxcount`=1, `incrtime`=3600, `slot` = 5 WHERE `entry`=4577 AND `item`=10326; -- Pattern: Tuxedo Jacket 5
46+
47+
-- https://www.wowhead.com/tbc/npc=11658/molten-giant ~21.6 -> ~3.6 old (6.7% vmangos, 6.42% cmangos) - https://web.archive.org/web/20080424011002/http://wow.allakhazam.com/db/mob.html?wmob=11658
48+
-- https://www.wowhead.com/tbc/npc=11659/molten-destroyer ~14.4 -> ~3.6 old (7.2% vmangos, 6.76% cmangos) - https://web.archive.org/web/20080424011007/http://wow.allakhazam.com/db/mob.html?wmob=11659
49+
-- https://www.wowhead.com/tbc/npc=11661/flamewaker ~32.4 -> ~3.6 old (5.72% vmangos, 5.4% cmangos) - https://web.archive.org/web/20080506005236/http://wow.allakhazam.com/db/mob.html?wmob=11661
50+
-- https://www.wowhead.com/tbc/npc=11662/flamewaker-priest ~30.6 -> ~3.6 old (5.69% vmangos, 5.35% cmangos) - https://web.archive.org/web/20080506005242/http://wow.allakhazam.com/db/mob.html?wmob=11662
51+
-- https://www.wowhead.com/tbc/npc=11663/flamewaker-healer 19.8 -> ~2.7 old (4.16% vmangos, 4.11% cmangos) - https://web.archive.org/web/20080421224044/http://wow.allakhazam.com/db/mob.html?wmob=11663
52+
-- https://www.wowhead.com/tbc/npc=11664/flamewaker-elite 27 -> ~ 3.6 old (6.44% vmangos, 6.16% cmangos) - https://web.archive.org/web/20080421211838/http://wow.allakhazam.com/db/mob.html?wmob=11664
53+
-- https://www.wowhead.com/tbc/npc=11665/lava-annihilator 12.6 -> 2.16 old (2.17% vmangos, 2.06% cmangos) - https://web.archive.org/web/20080422224718/http://wow.allakhazam.com/db/mob.html?wmob=11665
54+
-- https://www.wowhead.com/tbc/npc=11666/firewalker 10.8 -> ~ 3.6 old (6.12% vmangos, 5.76% cmangos) - https://web.archive.org/web/20080505213726/http://wow.allakhazam.com/db/mob.html?wmob=11666
55+
-- https://www.wowhead.com/tbc/npc=11667/flameguard 10.8 -> ~ 3.6 old (6.64% vmangos, 6.48% cmangos) - https://web.archive.org/web/20080506005247/http://wow.allakhazam.com/db/mob.html?wmob=11667
56+
-- https://www.wowhead.com/tbc/npc=11668/firelord 14.4 -> ~ 3.24 old (5.7% vmangos, 5.44% cmangos) - https://web.archive.org/web/20080505194504/http://wow.allakhazam.com/db/mob.html?wmob=11668
57+
-- https://www.wowhead.com/tbc/npc=11673/ancient-core-hound 36% -> ~3.6% old (5.98% vmangos, 5.68% cmangos) - https://web.archive.org/web/20080416225833/http://wow.allakhazam.com/db/mob.html?wmob=11673
58+
-- https://www.wowhead.com/tbc/npc=12076/lava-elemental 9 -> ~2.16% old (3.78% vmangos, 3.62% cmangos) - https://web.archive.org/web/20080502220244/http://wow.allakhazam.com/db/mob.html?wmob=12076
59+
-- https://www.wowhead.com/tbc/npc=12100/lava-reaver 14.4 -> ~ 3.6 old (5.44% vmangos, 5.18% cmangos) - https://web.archive.org/web/20080430111617/http://wow.allakhazam.com/db/mob.html?wmob=12100
60+
-- https://www.wowhead.com/tbc/npc=12101/lava-surger 16.2 -> ~2.16% old (4.32% vmangos, 4.14% cmangos) - https://web.archive.org/web/20080422224728/http://wow.allakhazam.com/db/mob.html?wmob=12101
61+
-- https://www.wowhead.com/tbc/npc=12119/flamewaker-protector 30.6 -> ~ 3.6 old (6.28% vmangos, 5.95% cmangos) - https://web.archive.org/web/20080506005312/http://wow.allakhazam.com/db/mob.html?wmob=12119
62+
DELETE FROM `creature_loot_template` WHERE `item` IN (16799,16802,16804,16806,16817,16819,16825,16827,16828,16830,16838,16840,16850,16851,16857,16858,16861,16864,34012)
63+
AND `entry` IN (11658,11659,11661,11662,11663,11664,11665,11666,11667,11668,11673,12076,12100,12101,12119);
64+
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES -- name all values / 4
65+
(11665, 34012, 4.5, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Lava Annihilator 5
66+
(12076, 34012, 4.5, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Lava Elemental 5
67+
(12101, 34012, 4.5, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Lava Surger 7
68+
(12100, 34012, 9, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Lava Reaver 8
69+
(11666, 34012, 9, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Firewalker 7
70+
(11667, 34012, 9, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Flameguard 7
71+
(11668, 34012, 9, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Firelord 7
72+
(11658, 34012, 9, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Molten Destroyer 10
73+
(11659, 34012, 9, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Molten Destroyer 8
74+
-- https://www.wowhead.com/tbc/npc=11664/flamewaker-elite#comments:id=2913191
75+
-- They do drop boe epics eg aranist 1st time we downed domo 4 out of 8 adds dropd tier 1 braces / belts
76+
(11661, 34012, 13.5, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Flamewaker 12
77+
(11662, 34012, 13.5, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Flamewaker Priest 12
78+
(11663, 34012, 13.5, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Flamewaker Healer 8
79+
(11664, 34012, 13.5, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Flamewaker Elite 11
80+
(12119, 34012, 13.5, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'), -- Flamewaker Protector 12
81+
(11673, 34012, 18, 1, -34012, 1, 0, 'Molten Core Epic Items (T1 Bracers & Belt)'); -- Ancient Core Hound 13
82+
83+
DELETE FROM `reference_loot_template_names` WHERE `entry` = 34012; -- 34011 (Boss Loot) - Epic Patterns
84+
INSERT INTO `reference_loot_template_names` (`entry`, `name`) VALUES (34012, 'Molten Core Epic Items (T1 Bracers & Belt)');
85+
86+
DELETE FROM `reference_loot_template` WHERE `entry` = 34012;
87+
INSERT INTO `reference_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES
88+
(34012, 16817, 0, 1, 1, 1, 0, 'Girdle of Prophecy'),
89+
(34012, 16819, 0, 1, 1, 1, 0, 'Vambraces of Prophecy'),
90+
(34012, 16799, 0, 1, 1, 1, 0, 'Arcanist Bindings'),
91+
(34012, 16802, 0, 1, 1, 1, 0, 'Arcanist Belt'),
92+
(34012, 16804, 0, 1, 1, 1, 0, 'Felheart Bracers'),
93+
(34012, 16806, 0, 1, 1, 1, 0, 'Felheart Belt'),
94+
(34012, 16825, 0, 1, 1, 1, 0, 'Nightslayer Bracelets'),
95+
(34012, 16827, 0, 1, 1, 1, 0, 'Nightslayer Belt'),
96+
(34012, 16828, 0, 1, 1, 1, 0, 'Cenarion Belt'),
97+
(34012, 16830, 0, 1, 1, 1, 0, 'Cenarion Bracers'),
98+
(34012, 16850, 0, 1, 1, 1, 0, 'Giantstalker\'s Bracers'),
99+
(34012, 16851, 0, 1, 1, 1, 0, 'Giantstalker\'s Belt'),
100+
(34012, 16861, 0, 1, 1, 1, 0, 'Bracers of Might'),
101+
(34012, 16864, 0, 1, 1, 1, 0, 'Belt of Might'),
102+
(34012, 16838, 0, 1, 1, 1, 0, 'Earthfury Belt'), -- condition 3: 6 67 0 0 0 0 Horde Player in classicmangos
103+
(34012, 16840, 0, 1, 1, 1, 0, 'Earthfury Bracers'), -- condition 3: 6 67 0 0 0 0 Horde Player in classicmangos
104+
(34012, 16857, 0, 1, 1, 1, 0, 'Lawbringer Bracers'), -- condition 4: 6 469 0 0 0 0 Alliance Player in classicmangos
105+
(34012, 16858, 0, 1, 1, 1, 0, 'Lawbringer Belt'); -- condition 4: 6 469 0 0 0 0 Alliance Player in classicmangos
106+
107+
-- Tameable pets remove immunities, update with trugge research
108+
UPDATE `creature_template` SET `MechanicImmuneMask`= 0 WHERE `entry` = 3653; -- Kresh (8388625)
109+
UPDATE `creature_template` SET `MechanicImmuneMask`= 0 WHERE `entry` = 4425; -- Blind Hunter (8388625) - no data available yet, data taken from Kraul Bat ID 4538
110+
UPDATE `creature_template` SET `MechanicImmuneMask`= 0 WHERE `entry` = 4887; -- Ghamoo-ra (76234719)
111+
UPDATE `creature_template` SET `MechanicImmuneMask`= 0 WHERE `entry` = 5708; -- Spawn of Hakkar (76234719)
112+
113+
-- Improve Dropchance for i.18972,18969 - item is unique so always back and forth, also has either quest or race conditions
114+
UPDATE `creature_loot_template` SET `ChanceOrQuestChance` = 10 WHERE `entry` IN (5299,5297,5296) AND `item` IN (18972,18969); -- 2.5
115+
116+
-- Move back to gameobject_loot_template
117+
-- https://web.archive.org/web/20060614134429/http://wow.allakhazam.com/db/object.html?wobject=457
118+
-- https://www.wowhead.com/tbc/object=180228/jinxed-hoodoo-pile
119+
-- https://www.wowhead.com/tbc/object=180229/jinxed-hoodoo-pile
120+
DELETE FROM `reference_loot_template` WHERE `entry` = 17259;
121+
DELETE FROM `reference_loot_template_names` WHERE `entry` = 17259; -- 17259 Punctured Voodoo Doll (180228/180229)
122+
DELETE FROM `gameobject_loot_template` WHERE `entry` = 17259;
123+
INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES
124+
(17259, 14047, 10, 1, 2, 5, 0, 'Runecloth'), -- 15
125+
(17259, 19727, 22.5, 1, 1, 1, 0, 'Blood Scythe'), -- 20
126+
(17259, 19813, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll'),
127+
(17259, 19814, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll'),
128+
(17259, 19815, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll'), -- condition 4: 6 469 0 0 0 0 Alliance Player in classicmangos
129+
(17259, 19816, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll'),
130+
(17259, 19817, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll'), -- condition 3: 6 67 0 0 0 0 Horde Player in classicmangos
131+
(17259, 19818, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll'),
132+
(17259, 19819, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll'),
133+
(17259, 19820, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll'),
134+
(17259, 19821, 0, 1, 1, 1, 0, 'Punctured Voodoo Doll');
135+
136+
-- https://web.archive.org/web/20060331161713/http://wow.allakhazam.com/db/item.html?witem=2839 - ReqRace = 690, Horde Quest
137+
-- https://www.wowhead.com/tbc/item=2839/a-letter-to-yvette#comments:id=2674786 - Subject: "Whoops!"I actually found this as my Night Elf druid (33 at the time) west of Brill. Was kind of funny, wish I was eligible for the quest...told me I wasn't the correct race.
138+
DELETE FROM `creature_loot_template` WHERE `entry` IN (1520,1522,1523,1532,1530,1537,1548,1770,1664) AND `item` = 2839;
139+
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES
140+
(1520, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'), -- 6-7
141+
(1522, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'), -- 7-8
142+
(1523, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'), -- 8-9
143+
(1664, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'), -- 11
144+
(1770, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'), -- 11-12
145+
(1548, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'), -- 7-8
146+
(1537, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'), -- 8-9
147+
(1530, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'), -- 10-11
148+
(1532, 2839, 2.5, 0, 1, 1, 9028, 'A Letter to Yvette'); -- 10-11
149+
150+
-- race not a drop condition, but alliance players dont farm these mobs, not having done/taken the quest seems the most likely dropcondition
151+
DELETE FROM `conditions` WHERE `condition_entry` = 9028; -- https://www.wowhead.com/tbc/item=2839/a-letter-to-yvette#comments:id=132342
152+
INSERT INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`, `value3`, `value4`, `flags`, `comments`) VALUES
153+
(9028, 22, 361, 0, 0, 0, 0, 'Quest ID 361 NOT Taken AND NOT Rewarded');
154+
155+
-- missing in tbcmangos and classicmangos, exists in wotlk without condition, chance falls off for horde players that have done the quest and rekill the mob.
156+
-- https://www.wowhead.com/tbc/item=5138/harvesters-head#comments:id=106875
157+
-- This item drops for Alliance players, but they are unable to start the quest.
158+
DELETE FROM `creature_loot_template` WHERE `entry` = 3253 AND `item` = 5138;
159+
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES
160+
(3253, 5138, 100, 0, 1, 1, 9029, 'Harvester\'s Head');
161+
162+
DELETE FROM `conditions` WHERE `condition_entry` = 9029; -- https://www.wowhead.com/tbc/item=5138/harvesters-head
163+
INSERT INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`, `value3`, `value4`, `flags`, `comments`) VALUES
164+
(9029, 22, 897, 0, 0, 0, 0, 'Quest ID 897 NOT Taken AND NOT Rewarded');
165+
166+
UPDATE `creature_loot_template` SET `ChanceOrQuestChance` = 5, `condition_id` = 9030 WHERE `item` = 20310 AND `entry` IN (4663,4664,4665,4666,4667,4668,4705,13019);
167+
DELETE FROM `conditions` WHERE `condition_entry` = 9030; -- https://www.wowhead.com/tbc/item=20310/flayed-demon-skin
168+
INSERT INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`, `value3`, `value4`, `flags`, `comments`) VALUES
169+
(9030, 22, 1480, 0, 0, 0, 0, 'Quest ID 1480 NOT Taken AND NOT Rewarded');
170+

0 commit comments

Comments
 (0)