Core/Spell: Fixed Val'kyr Target Search exploit

Port From (https://github.com/TrinityCore/TrinityCore/commit/f3d946cee97136e4c76f88ea17fd1802c4d45a22)
This commit is contained in:
hondacrx
2020-05-01 13:12:54 -04:00
parent 1224abafe8
commit 5a178644b5
+3
View File
@@ -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;