Skip to content

Commit

Permalink
Spell: Fix bool logic error from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Sep 12, 2024
1 parent 65e8c0c commit 225a371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/UnitAuraProcHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ Unit::SpellProcEventTriggerCheck Unit::IsTriggeredAtSpellProcEvent(ProcExecution
}
}

if (!canProc[EFFECT_INDEX_0] || !canProc[EFFECT_INDEX_1] || !canProc[EFFECT_INDEX_2])
if (!canProc[EFFECT_INDEX_0] && !canProc[EFFECT_INDEX_1] && !canProc[EFFECT_INDEX_2])
return SpellProcEventTriggerCheck::SPELL_PROC_TRIGGER_FAILED;

if (roll_chance_f(chance))
Expand Down

0 comments on commit 225a371

Please sign in to comment.