1082 aura->SetCharges(
std::min(aura->GetCharges() + 1, aurEff->GetAmount()));
1083 aura->RefreshDuration();
T min(const T &x, const T &y)
Definition: g3dmath.h:305
Unit * GetTarget() const
Definition: SpellScript.cpp:1151
Definition: spell_shaman.cpp:55
Aura * GetAura() const
Definition: SpellScript.cpp:1031
Definition: SpellAuras.h:116
void spell_sha_rolling_thunder::spell_sha_rolling_thunder_AuraScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition: SharedDefines.h:28
void HandleEffectProc(AuraEffect const *aurEff, ProcEventInfo &)
Definition: spell_shaman.cpp:1078
Definition: SpellAuraDefines.h:102
#define AuraEffectProcFn(F, I, N)
Definition: SpellScript.h:792
HookList< EffectProcHandler > OnEffectProc
Definition: SpellScript.h:787
bool spell_sha_rolling_thunder::spell_sha_rolling_thunder_AuraScript::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
#define sSpellMgr
Definition: SpellMgr.h:756
Definition: spell_shaman.cpp:55
The documentation for this class was generated from the following file: