From 9e7116f4de816bead3f03072420384b786c058c2 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 9 Aug 2021 14:40:58 -0400 Subject: [PATCH] Fixed hunter auto attack. --- Source/Game/Spells/SpellEffects.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Game/Spells/SpellEffects.cs b/Source/Game/Spells/SpellEffects.cs index 9aae1c0e9..8145111db 100644 --- a/Source/Game/Spells/SpellEffects.cs +++ b/Source/Game/Spells/SpellEffects.cs @@ -2433,8 +2433,9 @@ namespace Game.Spells // multiple weapon dmg effect workaround // execute only the last weapon damage // and handle all effects at once - foreach (SpellEffectInfo effect in m_spellInfo.GetEffects()) + for (var j = effIndex + 1; j < SpellConst.MaxEffects; ++j) { + var effect = m_spellInfo.GetEffect(j); if (effect == null) continue;