mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 11:21:58 +01:00
Core/Spells: Corrected trigger flag for melee based spells
Closes #2002
This commit is contained in:
@@ -819,7 +819,7 @@ void Spell::prepareDataForTriggerSystem(AuraEffect const* /*triggeredByAura*/)
|
||||
m_procAttacker |= PROC_FLAG_DONE_OFFHAND_ATTACK;
|
||||
else
|
||||
m_procAttacker |= PROC_FLAG_DONE_MAINHAND_ATTACK;
|
||||
m_procVictim = PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK;
|
||||
m_procVictim = PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS;
|
||||
break;
|
||||
case SPELL_DAMAGE_CLASS_RANGED:
|
||||
// Auto attack
|
||||
@@ -845,7 +845,7 @@ void Spell::prepareDataForTriggerSystem(AuraEffect const* /*triggeredByAura*/)
|
||||
// For other spells trigger procflags are set in Spell::DoAllEffectOnTarget
|
||||
// Because spell positivity is dependant on target
|
||||
}
|
||||
m_procEx= PROC_EX_NONE;
|
||||
m_procEx = PROC_EX_NONE;
|
||||
|
||||
// Hunter trap spells - activation proc for Lock and Load, Entrapment and Misdirection
|
||||
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER &&
|
||||
|
||||
Reference in New Issue
Block a user