mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
fix(Script/Spell): fix AOE circle bug on Midsummer Torch Catching (#17654)
* fix(Spells/Midsummer): fix script for spell 46747 SPELL_FLING_TORCH_DUMMY * SpellInfoCorrections: fix target of spell 46747 Fling torch * DB: assign spell 46747 Fling torch to item 34833 Unlit Torches * remove whitespaces at src/server/game/Spells/SpellInfoCorrections.cpp:4610
This commit is contained in:
@@ -4602,6 +4602,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->Effects[EFFECT_1].SpellClassMask[0] = 6;
|
||||
});
|
||||
|
||||
// 46747 Fling torch
|
||||
ApplySpellFix({ 46747 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_CASTER);
|
||||
});
|
||||
|
||||
// Chains of Naberius
|
||||
ApplySpellFix({ 36146 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user