diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 92d2d6a13..50e231dd9 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1918,7 +1918,22 @@ void Spell::EffectDummy(uint32 i) if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000002000)) { if (unitTarget) - m_caster->CastCustomSpell(unitTarget, 52042, &damage, 0, 0, true, 0, 0, m_originalCasterGUID); + { + if (Unit *owner = m_caster->GetOwner()) + { + // Restorative Totems + Unit::AuraList const& mDummyAuras = owner->GetAurasByType(SPELL_AURA_DUMMY); + for(Unit::AuraList::const_iterator i = mDummyAuras.begin(); i != mDummyAuras.end(); ++i) + // only its have dummy with specific icon + if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_SHAMAN && (*i)->GetSpellProto()->SpellIconID == 338) + damage += (*i)->GetModifier()->m_amount * damage / 100; + + // Glyph of Healing Stream Totem + if (Aura *dummy = owner->GetDummyAura(55456)) + damage += dummy->GetModifier()->m_amount * damage / 100; + } + m_caster->CastCustomSpell(unitTarget, 52042, &damage, NULL, NULL, true, 0, 0, m_originalCasterGUID); + } return; } // Mana Spring Totem diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index dad60986a..05edf8dc2 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 "9297" + #define REVISION_NR "9298" #endif // __REVISION_NR_H__