Corrections to previous merged in PR
This commit is contained in:
1 parent
8f853095f4
commit
d04f155b65
8 files changed
+15
-12
No files matched your search
@@ -4367,10 +4367,10 @@ int32 Unit::GetTotalAuraModifierByMiscMask(AuraType auratype, uint32 misc_mask)
|
||||
if ((*i)->GetMiscValue() & misc_mask)
|
||||
if (!sSpellMgr->AddSameEffectStackRuleSpellGroups((*i)->GetSpellInfo(), (*i)->GetAmount(), SameEffectSpellGroup))
|
||||
modifier += (*i)->GetAmount();
|
||||
|
||||
|
||||
for (std::map<SpellGroup, int32>::const_iterator itr = SameEffectSpellGroup.begin(); itr != SameEffectSpellGroup.end(); ++itr)
|
||||
modifier += itr->second;
|
||||
|
||||
|
||||
return modifier;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user