mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Added TARGET_UNIT_AREA_SCRIPT target to the list of target types using custom targets defined in spell_script_target.
--HG-- branch : trunk
This commit is contained in:
@@ -1530,6 +1530,7 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,std::list<Unit*> &TagUnitMap)
|
||||
}break;
|
||||
case TARGET_SCRIPT:
|
||||
case TARGET_SCRIPT_COORDINATES:
|
||||
case TARGET_UNIT_AREA_SCRIPT:
|
||||
{
|
||||
SpellScriptTarget::const_iterator lower = spellmgr.GetBeginSpellScriptTarget(m_spellInfo->Id);
|
||||
SpellScriptTarget::const_iterator upper = spellmgr.GetEndSpellScriptTarget(m_spellInfo->Id);
|
||||
|
||||
Reference in New Issue
Block a user