mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[9841] Really fix invisible target selection for TARGET_AREAEFFECT_CUSTOM
This commit is contained in:
parent
53b056cfff
commit
91572b1e01
2 changed files with 4 additions and 2 deletions
|
|
@ -6128,7 +6128,9 @@ bool Spell::CheckTarget( Unit* target, SpellEffectIndex eff )
|
|||
if ((!m_IsTriggeredSpell || target != m_targets.getUnitTarget()) &&
|
||||
target->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE) &&
|
||||
m_spellInfo->EffectImplicitTargetA[eff] != TARGET_SCRIPT &&
|
||||
m_spellInfo->EffectImplicitTargetB[eff] != TARGET_SCRIPT )
|
||||
m_spellInfo->EffectImplicitTargetB[eff] != TARGET_SCRIPT &&
|
||||
m_spellInfo->EffectImplicitTargetA[eff] != TARGET_AREAEFFECT_CUSTOM &&
|
||||
m_spellInfo->EffectImplicitTargetB[eff] != TARGET_AREAEFFECT_CUSTOM )
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue