mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 12:22:39 +01:00
Set flag for offhand melee spells to allow proper triggering of weapon-specific effects (fix by Lynx3d)
--HG-- branch : trunk
This commit is contained in:
@@ -759,6 +759,8 @@ void Spell::prepareDataForTriggerSystem(AuraEffect const * /*triggeredByAura*/)
|
||||
{
|
||||
case SPELL_DAMAGE_CLASS_MELEE:
|
||||
m_procAttacker = PROC_FLAG_SUCCESSFUL_MELEE_SPELL_HIT;
|
||||
if (m_attackType == OFF_ATTACK)
|
||||
m_procAttacker |= PROC_FLAG_SUCCESSFUL_OFFHAND_HIT;
|
||||
m_procVictim = PROC_FLAG_TAKEN_MELEE_SPELL_HIT;
|
||||
break;
|
||||
case SPELL_DAMAGE_CLASS_RANGED:
|
||||
|
||||
Reference in New Issue
Block a user