*Some update of spell target selection.
--HG-- branch : trunk
This commit is contained in:
1 parent
3b4e4b8215
commit
6592e99f4a
4 files changed
+31
-20
No files matched your search
@@ -1000,7 +1000,7 @@ void Aura::_AddAura()
|
||||
for(std::vector<int32>::const_iterator itr = spell_triggered->begin(); itr != spell_triggered->end(); ++itr)
|
||||
{
|
||||
if(*itr < 0)
|
||||
m_target->ApplySpellImmune(id, IMMUNITY_ID, -(*itr), m_target);
|
||||
m_target->ApplySpellImmune(id, IMMUNITY_ID, -(*itr), true);
|
||||
else if(Unit* caster = GetCaster())
|
||||
caster->AddAura(*itr, m_target);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user