787 {
792 {
794 {
795 if (triggeringSpell)
796 damage =
int32(owner->SpellHealingBonusDone(target, triggeringSpell, damage,
HEAL, effIndex));
797
798
800 AddPct(damage, dummy->GetAmount());
801
802
804 AddPct(damage, aurEff->GetAmount());
805
806 damage =
int32(target->SpellHealingBonusTaken(owner, triggeringSpell, damage,
HEAL));
807 }
809 }
810 }
@ SPELL_AURA_DUMMY
Definition: SpellAuraDefines.h:67
@ HEAL
Definition: Unit.h:251
@ SHAMAN_ICON_ID_RESTORATIVE_TOTEMS
Definition: spell_shaman.cpp:68
@ SPELL_SHAMAN_GLYPH_OF_HEALING_STREAM_TOTEM
Definition: spell_shaman.cpp:44
@ SPELL_SHAMAN_TOTEM_HEALING_STREAM_HEAL
Definition: spell_shaman.cpp:59
@ EFFECT_0
Definition: SharedDefines.h:31
@ SPELLFAMILY_SHAMAN
Definition: SharedDefines.h:3539
std::int32_t int32
Definition: Define.h:103
T AddPct(T &base, U pct)
Definition: Util.h:67
Unit * GetOwner() const
Definition: Unit.cpp:10540
Definition: SpellAuraEffects.h:39
Definition: SpellInfo.h:316
int32 GetEffectValue() const
Definition: SpellScript.cpp:600
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
SpellInfo const * GetTriggeringSpell()
Definition: SpellScript.cpp:630
Unit * GetOriginalCaster()
Definition: SpellScript.cpp:406
Unit * GetCaster()
Definition: SpellScript.cpp:401