diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 847354e4f..bfa91b571 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2547,8 +2547,9 @@ void Spell::EffectHeal( uint32 /*i*/ ) Aura *targetAura = NULL; for(Unit::AuraList::const_iterator i = RejorRegr.begin(); i != RejorRegr.end(); ++i) { - if((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DRUID - && ((*i)->GetSpellProto()->SpellFamilyFlags == 0x40 || (*i)->GetSpellProto()->SpellFamilyFlags == 0x10) ) + if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DRUID && + // Regrowth or Rejuvenation 0x40 | 0x10 + ((*i)->GetSpellProto()->SpellFamilyFlags & UI64LIT(0x0000000000000050))) { if(!targetAura || (*i)->GetAuraDuration() < targetAura->GetAuraDuration()) targetAura = *i; @@ -2570,7 +2571,10 @@ void Spell::EffectHeal( uint32 /*i*/ ) int32 tickheal = caster->SpellHealingBonus(unitTarget, targetAura->GetSpellProto(), targetAura->GetModifier()->m_amount, DOT); int32 tickcount = GetSpellDuration(targetAura->GetSpellProto()) / targetAura->GetSpellProto()->EffectAmplitude[idx]; - unitTarget->RemoveAurasDueToSpell(targetAura->GetId()); + + // Glyph of Swiftmend + if(!caster->HasAura(54824)) + unitTarget->RemoveAurasDueToSpell(targetAura->GetId()); addhealth += tickheal * tickcount; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 122b7f960..273586878 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8244" + #define REVISION_NR "8245" #endif // __REVISION_NR_H__