diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 006f6eb58..11dcfaf41 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9437,13 +9437,13 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint { int32 stepPercent = (*i)->GetModifier()->m_amount; - int ownHotCount = 0; + int ownHotCount = 0; // counted HoT types amount, not stacks Unit::AuraList const& RejorRegr = pVictim->GetAurasByType(SPELL_AURA_PERIODIC_HEAL); for(Unit::AuraList::const_iterator i = RejorRegr.begin(); i != RejorRegr.end(); ++i) if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DRUID && (*i)->GetCasterGUID() == GetGUID()) - ownHotCount += (*i)->GetStackAmount(); + ++ownHotCount; if (ownHotCount) TakenTotalMod *= (stepPercent * ownHotCount + 100.0f) / 100.0f; @@ -9539,12 +9539,12 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint // Nourish 20% of heal increase if target is affected by Druids HOTs else if (spellProto->SpellFamilyName == SPELLFAMILY_DRUID && (spellProto->SpellFamilyFlags & UI64LIT(0x0200000000000000))) { - int ownHotCount = 0; + int ownHotCount = 0; // counted HoT types amount, not stacks Unit::AuraList const& RejorRegr = pVictim->GetAurasByType(SPELL_AURA_PERIODIC_HEAL); for(Unit::AuraList::const_iterator i = RejorRegr.begin(); i != RejorRegr.end(); ++i) if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DRUID && (*i)->GetCasterGUID() == GetGUID()) - ownHotCount += (*i)->GetStackAmount(); + ++ownHotCount; if (ownHotCount) { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 8b0c1b9a3..07e7bb33c 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 "9354" + #define REVISION_NR "9355" #endif // __REVISION_NR_H__