Skip to content

Commit

Permalink
Spell/Targeting: Make TARGET_UNIT_FRIEND_CHAIN_HEAL and TARGET_UNIT_F…
Browse files Browse the repository at this point in the history
…RIEND_AND_PARTY ignore LOS
  • Loading branch information
killerwife committed Aug 17, 2021
1 parent b5905ae commit 642a6b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/Spells/SpellMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -1720,6 +1720,8 @@ inline bool IsIgnoreLosSpellEffect(SpellEntry const* spellInfo, SpellEffectIndex
// TODO: Move this to target logic
switch (spellInfo->EffectImplicitTargetA[effIdx])
{
case TARGET_UNIT_FRIEND_CHAIN_HEAL: // checked for LOS but in a custom chain way
case TARGET_UNIT_FRIEND_AND_PARTY:
case TARGET_UNIT_RAID_AND_CLASS: return true;
default: break;
}
Expand Down

0 comments on commit 642a6b2

Please sign in to comment.