void spell_dk_pet_scaling_02::spell_dk_pet_scaling_02_AuraScript::CalculateAmountMeleeHaste |
( |
AuraEffect const * |
, |
|
|
int32 & |
amount, |
|
|
bool & |
|
|
) |
| |
|
inlineprivate |
1574 float HasteMelee = 0.0f;
1576 HasteMelee += (1-owner->m_modAttackSpeedPct[
BASE_ATTACK])*100;
1578 amount +=
int32(HasteMelee);
WorldObject * GetOwner() const
Definition: SpellScript.cpp:1011
Unit * GetCaster() const
Definition: SpellScript.cpp:1006
int32_t int32
Definition: g3dmath.h:167
bool spell_dk_pet_scaling_02::spell_dk_pet_scaling_02_AuraScript::Load |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
WorldObject * GetOwner() const
Definition: SpellScript.cpp:1011
Definition: ObjectGuid.h:33
Unit * GetCaster() const
Definition: SpellScript.cpp:1006
void spell_dk_pet_scaling_02::spell_dk_pet_scaling_02_AuraScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition: SharedDefines.h:29
#define AuraEffectCalcAmountFn(F, I, N)
Definition: SpellScript.h:722
void CalculateAmountMeleeHaste(AuraEffect const *, int32 &amount, bool &)
Definition: spell_pet.cpp:1567
Definition: SpellAuraDefines.h:253
HookList< EffectCalcAmountHandler > DoEffectCalcAmount
Definition: SpellScript.h:721
The documentation for this class was generated from the following file: