mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Core/Conditions: Fixed a typo
Fixed a typo which caused implicit target conditions to only be applied to the first effect
bug was introduced in 926a37a
This commit is contained in:
@@ -1310,7 +1310,7 @@ bool ConditionMgr::addToSpellImplicitTargetConditions(Condition* cond)
|
||||
bool assigned = false;
|
||||
for (uint8 i = firstEffIndex; i < MAX_SPELL_EFFECTS; ++i)
|
||||
{
|
||||
SpellEffectInfo const* eff = spellInfo->GetEffect(DIFFICULTY_NONE, firstEffIndex);
|
||||
SpellEffectInfo const* eff = spellInfo->GetEffect(DIFFICULTY_NONE, i);
|
||||
if (!eff)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user