*Fix some spells with TARGET_FLAG_CASTER.
--HG-- branch : trunk
This commit is contained in:
1 parent
5d2968792f
commit
5629168dbb
2 files changed
+7
-1
No files matched your search
@@ -466,6 +466,12 @@ void Spell::FillTargetMap()
|
||||
continue;
|
||||
}
|
||||
|
||||
if(tmpUnitMap.empty() && m_spellInfo->Targets & TARGET_FLAG_CASTER)
|
||||
{
|
||||
AddUnitTarget(m_caster, i);
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!targetA && !targetB)
|
||||
{
|
||||
// add here custom effects that need default target.
|
||||
|
||||
Reference in new issue
Block a user