*Update rules of aura stack.
--HG-- branch : trunk
This commit is contained in:
1 parent
d132f7e401
commit
0b06baee4d
5 files changed
+68
-65
No files matched your search
@@ -780,8 +780,7 @@ void AreaAuraEffect::Update(uint32 diff)
|
||||
bool skip = false;
|
||||
for(Unit::AuraMap::iterator iter = (*tIter)->GetAuras().begin(); iter != (*tIter)->GetAuras().end();++iter)
|
||||
{
|
||||
bool samecaster = iter->second->GetCasterGUID() == GetCasterGUID();
|
||||
if(spellmgr.IsNoStackSpellDueToSpell(GetId(), iter->first, samecaster))
|
||||
if(!spellmgr.CanAurasStack(GetSpellProto(), iter->second->GetSpellProto(), iter->second->GetCasterGUID() == GetCasterGUID()))
|
||||
{
|
||||
skip = true;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user