From 839aad82d90415138c0fb68d4f65e720062f4f26 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 22 Feb 2022 14:27:32 -0500 Subject: [PATCH] Removing a duplicate item combat spell handling causing poisons (and others) to proc twice. Port From (https://github.com/TrinityCore/TrinityCore/commit/e95215e9ae160ef896add877793a9d6aa7dc133b) --- Source/Game/Spells/Spell.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index 11e496c73..19fabfc54 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -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); } }