Core/Spells: Remove hacks related to TARGET_DEST_NEARBY_DB and DB data (#30626)

This commit is contained in:
Aqua Deus
2025-01-24 17:54:51 +01:00
committed by GitHub
parent fa06e7a9e3
commit 68b10dcaab
3 changed files with 27 additions and 45 deletions

View File

@@ -4984,24 +4984,6 @@ void SpellMgr::LoadSpellInfoCorrections()
});
});
// Summon Amberleaf Troublemaker
ApplySpellFix({ 114698 }, [](SpellInfo* spellInfo)
{
ApplySpellEffectFix(spellInfo, EFFECT_0, [](SpellEffectInfo* spellEffectInfo)
{
spellEffectInfo->TargetA = SpellImplicitTargetInfo(TARGET_DEST_DEST);
});
});
// Summon Living Air
ApplySpellFix({ 102207 }, [](SpellInfo* spellInfo)
{
ApplySpellEffectFix(spellInfo, EFFECT_0, [](SpellEffectInfo* spellEffectInfo)
{
spellEffectInfo->TargetA = SpellImplicitTargetInfo(TARGET_DEST_TARGET_RANDOM);
});
});
// ENDOF THE WANDERING ISLE SPELLS
//