From bae21a1a96d3b7f60c9fe0ed448e2bddc71238ab Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 4 Jan 2022 18:41:19 -0500 Subject: [PATCH] Core/Spells: Fixed some issues with Drain Soul Port From (https://github.com/TrinityCore/TrinityCore/commit/47659e219a2143d1c121406453cc5a37216e1658) --- Source/Game/Spells/SpellInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Game/Spells/SpellInfo.cs b/Source/Game/Spells/SpellInfo.cs index 30419f06e..73d29a694 100644 --- a/Source/Game/Spells/SpellInfo.cs +++ b/Source/Game/Spells/SpellInfo.cs @@ -3147,7 +3147,7 @@ namespace Game.Spells return this; // Client ignores spell with these attributes (sub_53D9D0) - if (HasAttribute(SpellAttr0.Negative1) || HasAttribute(SpellAttr2.Unk3)) + if (HasAttribute(SpellAttr0.Negative1) || HasAttribute(SpellAttr2.Unk3) || HasAttribute(SpellAttr3.DrainSoul)) return this; bool needRankSelection = false; @@ -3383,7 +3383,6 @@ namespace Game.Spells case AuraType.ModUnattackable: return true; case AuraType.SchoolHealAbsorb: - case AuraType.ChannelDeathItem: case AuraType.Empathy: case AuraType.ModSpellDamageFromCaster: case AuraType.PreventsFleeing: @@ -3586,6 +3585,7 @@ namespace Game.Spells return false; break; case AuraType.ModConfuse: + case AuraType.ChannelDeathItem: case AuraType.ModRoot: case AuraType.ModRoot2: case AuraType.ModSilence: