fix(Scripts/Quest): Implement Sorlof's Booty Quest Event (#26810)

This commit is contained in:
Gultask
2026-07-28 13:22:06 -03:00
committed by GitHub
parent f58c266642
commit 662b67dab1
3 changed files with 416 additions and 0 deletions
@@ -5242,6 +5242,18 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_TARGET_ANY);
});
// Boulder Assault (Sorlof's Booty)
ApplySpellFix({ 44966 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx |= SPELL_ATTR1_NO_THREAT;
});
// Cannon Assault (Sorlof's Booty)
ApplySpellFix({ 45008 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];