| void spell_warl_shadow_ward::spell_warl_shadow_ward_AuraScript::CalculateAmount |
( |
AuraEffect const * |
, |
|
|
int32 & |
amount, |
|
|
bool & |
canBeRecalculated |
|
) |
| |
|
inlineprivate |
1115 canBeRecalculated =
false;
1119 float bonus = 0.8068f;
1121 bonus *= caster->SpellBaseHealingBonusDone(
GetSpellInfo()->GetSchoolMask());
1122 bonus *= caster->CalculateLevelPenalty(
GetSpellInfo());
1124 amount +=
int32(bonus);
SpellInfo const * GetSpellInfo() const
Definition: SpellScript.cpp:991
Unit * GetCaster() const
Definition: SpellScript.cpp:1006
int32_t int32
Definition: g3dmath.h:167
| void spell_warl_shadow_ward::spell_warl_shadow_ward_AuraScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition: SharedDefines.h:28
#define AuraEffectCalcAmountFn(F, I, N)
Definition: SpellScript.h:722
void CalculateAmount(AuraEffect const *, int32 &amount, bool &canBeRecalculated)
Definition: spell_warlock.cpp:1113
HookList< EffectCalcAmountHandler > DoEffectCalcAmount
Definition: SpellScript.h:721
Definition: SpellAuraDefines.h:129
The documentation for this class was generated from the following file: