diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 33a859c057..488987e968 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -4527,7 +4527,16 @@ void Spell::finish(SpellCastResult result) // Stop Attack for some spells if (m_spellInfo->HasAttribute(SPELL_ATTR0_CANCELS_AUTO_ATTACK_COMBAT)) + { unitCaster->AttackStop(); + // Classic Scatter Shot must also stop Auto Shot. AttackStop only + // clears the melee victim, leaving the ranged autorepeat running. + if (m_spellInfo->Id == 19503 && m_spellInfo->HasAttribute(SPELL_ATTR15_UNK13) + && m_spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER && unitCaster->GetClass() == CLASS_HUNTER) + if (Spell const* autoShot = unitCaster->GetCurrentSpell(CURRENT_AUTOREPEAT_SPELL)) + if (autoShot->GetSpellInfo()->Id == 75) + unitCaster->CancelAutoRepeatSpell(); + } } template