void spell_the_lich_king_lights_favor::spell_the_lich_king_lights_favor_AuraScript::CalculateBonus |
( |
AuraEffect const * |
, |
|
|
int32 & |
amount, |
|
|
bool & |
canBeRecalculated |
|
) |
| |
|
inlineprivate |
2837 canBeRecalculated =
true;
2840 amount =
int32(caster->GetHealthPct());
Unit * GetCaster() const
Definition: SpellScript.cpp:1006
int32_t int32
Definition: g3dmath.h:167
void spell_the_lich_king_lights_favor::spell_the_lich_king_lights_favor_AuraScript::OnPeriodic |
( |
AuraEffect const * |
| ) |
|
|
inlineprivate |
2832 effect->RecalculateAmount(caster);
Definition: SpellAuraEffects.h:30
Definition: SharedDefines.h:29
AuraEffect * GetEffect(uint8 effIndex) const
Definition: SpellScript.cpp:1141
Unit * GetCaster() const
Definition: SpellScript.cpp:1006
Aura * GetAura() const
Definition: SpellScript.cpp:1031
void spell_the_lich_king_lights_favor::spell_the_lich_king_lights_favor_AuraScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition: SpellAuraDefines.h:68
void OnPeriodic(AuraEffect const *)
Definition: boss_the_lich_king.cpp:2828
Definition: SharedDefines.h:29
Definition: SharedDefines.h:28
#define AuraEffectCalcAmountFn(F, I, N)
Definition: SpellScript.h:722
Definition: SpellAuraDefines.h:139
HookList< EffectPeriodicHandler > OnEffectPeriodic
Definition: SpellScript.h:709
void CalculateBonus(AuraEffect const *, int32 &amount, bool &canBeRecalculated)
Definition: boss_the_lich_king.cpp:2835
HookList< EffectCalcAmountHandler > DoEffectCalcAmount
Definition: SpellScript.h:721
#define AuraEffectPeriodicFn(F, I, N)
Definition: SpellScript.h:710
The documentation for this class was generated from the following file: