void spell_deathwhisper_mana_barrier::spell_deathwhisper_mana_barrier_AuraScript::HandlePeriodicTick |
( |
AuraEffect const * |
| ) |
|
|
inlineprivate |
989 int32 missingHealth =
int32(caster->GetMaxHealth() - caster->GetHealth());
990 caster->ModifyHealth(missingHealth);
991 caster->ModifyPower(
POWER_MANA, -missingHealth);
void PreventDefaultAction()
Definition: SpellScript.cpp:971
int32_t int32
Definition: Define.h:146
Unit * GetCaster() const
Definition: SpellScript.cpp:1006
int32_t int32
Definition: g3dmath.h:167
Definition: SharedDefines.h:248
void spell_deathwhisper_mana_barrier::spell_deathwhisper_mana_barrier_AuraScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition: SharedDefines.h:28
Definition: SpellAuraDefines.h:83
void HandlePeriodicTick(AuraEffect const *)
Definition: boss_lady_deathwhisper.cpp:984
HookList< EffectPeriodicHandler > OnEffectPeriodic
Definition: SpellScript.h:709
#define AuraEffectPeriodicFn(F, I, N)
Definition: SpellScript.h:710
The documentation for this class was generated from the following file: