1119 {
1121
1123 if (!damageInfo || !damageInfo->
GetDamage())
1124 return;
1125
1126
1128 {
1130 {
1131 return;
1132 }
1133 }
1134
1137
1139 }
std::int32_t int32
Definition: Define.h:103
T CalculatePct(T base, U pct)
Definition: Util.h:61
@ SPELL_SHAMAN_LIGHTNING_BOLT_OVERLOAD
Definition: spell_shaman.cpp:63
@ SPELL_SHAMAN_ELECTRIFIED
Definition: spell_shaman.cpp:39
@ SPELL_AURA_PERIODIC_DAMAGE
Definition: SpellAuraDefines.h:66
#define sSpellMgr
Definition: SpellMgr.h:825
uint32 GetDamage() const
Definition: Unit.h:364
SpellInfo const * GetSpellInfo() const
Definition: Unit.cpp:184
Unit * GetActor()
Definition: Unit.h:439
DamageInfo * GetDamageInfo() const
Definition: Unit.h:449
Unit * GetProcTarget() const
Definition: Unit.h:441
void CastDelayedSpellWithPeriodicAmount(Unit *caster, uint32 spellId, AuraType auraType, int32 addAmount, uint8 effectIndex=0)
Definition: Unit.cpp:20293
Definition: SpellInfo.h:316
uint32 GetMaxTicks() const
Definition: SpellInfo.cpp:2368
void PreventDefaultAction()
Definition: SpellScript.cpp:985