From 5a178644b5f77deca2d032f3bc60e3372e1d3b28 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 1 May 2020 13:12:54 -0400 Subject: [PATCH] Core/Spell: Fixed Val'kyr Target Search exploit Port From (https://github.com/TrinityCore/TrinityCore/commit/f3d946cee97136e4c76f88ea17fd1802c4d45a22) --- Source/Game/Spells/SpellManager.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index ce524cbf7..ec6d21727 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -2884,6 +2884,9 @@ namespace Game.Entities spellInfo.GetEffect(0).RadiusEntry = CliDB.SpellRadiusStorage.LookupByKey(EffectRadiusIndex.Yards200); // 200yd spellInfo.GetEffect(1).RadiusEntry = CliDB.SpellRadiusStorage.LookupByKey(EffectRadiusIndex.Yards200); // 200yd break; + case 69030: // Val'kyr Target Search + spellInfo.Attributes |= SpellAttr0.UnaffectedByInvulnerability; + break; case 69198: // Raging Spirit Visual spellInfo.RangeEntry = CliDB.SpellRangeStorage.LookupByKey(13); // 50000yd break;