Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Core/Spells: check the correct effect index for Beacon of Light auras…
Browse files Browse the repository at this point in the history
… in heal predicitions
  • Loading branch information
Ovahlord authored Oct 24, 2023
1 parent 388c504 commit 94f7ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Spells/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4865,7 +4865,7 @@ void Spell::UpdateSpellHealPrediction(WorldPackets::Spells::SpellHealPrediction&
{
auto beacon = std::find_if(unitCaster->GetSingleCastAuras().begin(), unitCaster->GetSingleCastAuras().end(), [](Aura const* aura)
{
return aura->GetSpellInfo()->Effects[EFFECT_1].IsEffect() && aura->GetSpellInfo()->Effects[EFFECT_1].TriggerSpell == beaconSpellId;
return aura->GetSpellInfo()->Effects[EFFECT_0].IsEffect() && aura->GetSpellInfo()->Effects[EFFECT_0].TriggerSpell == beaconSpellId;
});

if (beacon != unitCaster->GetSingleCastAuras().end())
Expand Down

0 comments on commit 94f7ee4

Please sign in to comment.