*Update rules of aura stack.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-23 10:22:58 -05:00
1 parent d132f7e401
commit 0b06baee4d
5 files changed
+68 -65

No files matched your search

+1 -2
View File
@@ -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;