fix(Core/Spells): keep the Demolisher gunner seat's pyrite in sync in Ulduar (#27398)

This commit is contained in:
Andrew
2026-08-30 21:01:31 -03:00
committed by GitHub
parent 0faf1b4ce5
commit 1c231a6606
3 changed files with 19 additions and 6 deletions
@@ -0,0 +1,15 @@
-- Ulduar repair stations (Auto-Repair 62705) must also hit the Salvaged Siege Turret and the
-- Salvaged Demolisher Mechanic Seat: the seat is a separate vehicle with its own pyrite pool,
-- so without it the gunner's pyrite bar is never refueled (sniffed: one pulse hits both
-- demolisher and seat, energizing each to full).
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceGroup` = 7 AND `SourceEntry` = 62705;
INSERT INTO `conditions`
(`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`,
`ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`,
`ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`)
VALUES
(13, 7, 62705, 0, 0, 31, 0, 3, 33060, 0, 0, 0, 0, '', 'Auto-Repair targets Salvaged Siege Engine'),
(13, 7, 62705, 0, 1, 31, 0, 3, 33062, 0, 0, 0, 0, '', 'Auto-Repair targets Salvaged Chopper'),
(13, 7, 62705, 0, 2, 31, 0, 3, 33109, 0, 0, 0, 0, '', 'Auto-Repair targets Salvaged Demolisher'),
(13, 7, 62705, 0, 3, 31, 0, 3, 33067, 0, 0, 0, 0, '', 'Auto-Repair targets Salvaged Siege Turret'),
(13, 7, 62705, 0, 4, 31, 0, 3, 33167, 0, 0, 0, 0, '', 'Auto-Repair targets Salvaged Demolisher Mechanic Seat');
@@ -0,0 +1,4 @@
-- Hurl Pyrite Barrel (62490) drains the Demolisher Mechanic Seat's pyrite through its own
-- DBC effect now (trigger of the serverside power-burn spell 62474), so the linked-spell
-- workaround would burn the seat twice.
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = 62490 AND `spell_effect` = 62474;
@@ -1895,12 +1895,6 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_DEST);
});
// Hurl Pyrite
ApplySpellFix({ 62490 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_1].Effect = 0;
});
// Meeting Stone Summon
ApplySpellFix({ 23598 }, [](SpellInfo* spellInfo)
{