*update aura stacking check

--HG--
branch : trunk
This commit is contained in:
QAston
2008-12-13 16:08:39 +01:00
parent 3533c094d2
commit 3ed8472e7b
3 changed files with 31 additions and 27 deletions

View File

@@ -4339,8 +4339,7 @@ bool Unit::RemoveNoStackAurasDueToAura(Aura *Aur)
bool sameCaster = Aur->GetCasterGUID() == (*i).second->GetCasterGUID();
if( spellmgr.IsNoStackSpellDueToSpell(spellId, i_spellId, sameCaster) )
{
//some spells should be not removed by lower rank of them
// what is this spell?
//some spells should be not removed by lower rank of them (totem, paladin aura)
if (!sameCaster
&&(spellProto->Effect[effIndex]==SPELL_EFFECT_APPLY_AREA_AURA_PARTY)
&&(spellProto->DurationIndex==21)