Removing a duplicate item combat spell handling causing poisons (and others) to proc twice.

Port From (https://github.com/TrinityCore/TrinityCore/commit/e95215e9ae160ef896add877793a9d6aa7dc133b)
This commit is contained in:
hondacrx
2022-02-22 14:27:32 -05:00
parent c27475ae46
commit 839aad82d9
-4
View File
@@ -8143,10 +8143,6 @@ namespace Game.Spells
{
spellDamageInfo = new(damageInfo, DamageEffectType.SpellDirect, spell.m_attackType, hitMask);
procSpellType |= ProcFlagsSpellType.Damage;
if (caster.IsPlayer() && !spell.m_spellInfo.HasAttribute(SpellAttr0.StopAttackTarget) && !spell.m_spellInfo.HasAttribute(SpellAttr4.SuppressWeaponProcs) &&
(spell.m_spellInfo.DmgClass == SpellDmgClass.Melee || spell.m_spellInfo.DmgClass == SpellDmgClass.Ranged))
caster.ToPlayer().CastItemCombatSpell(spellDamageInfo);
}
}