Core/Auras: make area and dynauras condition compliant by using the spellarea searcher instead of script searchers

Port From (https://github.com/TrinityCore/TrinityCore/commit/1f3e365ff6c010424746f34104d1228fb6a96b8a)
This commit is contained in:
hondacrx
2021-06-23 23:23:48 -04:00
parent fdd904225c
commit 5bbd708070
2 changed files with 45 additions and 49 deletions
-7
View File
@@ -2077,13 +2077,6 @@ namespace Game.Maps
i_range = range;
i_incOwnRadius = incOwnRadius;
i_incTargetRadius = incTargetRadius;
if (_spellInfo == null)
{
DynamicObject dynObj = i_obj.ToDynamicObject();
if (dynObj)
_spellInfo = dynObj.GetSpellInfo();
}
}
public bool Invoke(Unit u)