mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Script/ICC): Make Sindragosa Tail Smash - ignore LOS(#20935)
This commit is contained in:
@@ -3107,6 +3107,7 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
// Tail Smash (Sindragosa)
|
// Tail Smash (Sindragosa)
|
||||||
ApplySpellFix({ 71077 }, [](SpellInfo* spellInfo)
|
ApplySpellFix({ 71077 }, [](SpellInfo* spellInfo)
|
||||||
{
|
{
|
||||||
|
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
|
||||||
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_CASTER_BACK);
|
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_CASTER_BACK);
|
||||||
spellInfo->Effects[EFFECT_0].TargetB = SpellImplicitTargetInfo(TARGET_UNIT_DEST_AREA_ENEMY);
|
spellInfo->Effects[EFFECT_0].TargetB = SpellImplicitTargetInfo(TARGET_UNIT_DEST_AREA_ENEMY);
|
||||||
spellInfo->Effects[EFFECT_1].TargetA = SpellImplicitTargetInfo(TARGET_DEST_CASTER_BACK);
|
spellInfo->Effects[EFFECT_1].TargetA = SpellImplicitTargetInfo(TARGET_DEST_CASTER_BACK);
|
||||||
|
|||||||
Reference in New Issue
Block a user