![]() |
TrinityCore
|
Inheritance diagram for spell_dh_shattered_destiny:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| bool | CheckFurySpent (ProcEventInfo const &eventInfo) |
| void | HandleProc (ProcEventInfo const &) |
| void | Register () override |
Private Attributes | |
| int32 | _furySpent = 0 |
Definition at line 2014 of file spell_dh.cpp.
|
inlineprivate |
Definition at line 2024 of file spell_dh.cpp.
References _furySpent, EFFECT_1, ProcEventInfo::GetActor(), AuraEffect::GetAmountAsInt(), AuraScript::GetEffect(), Spell::GetPowerTypeCostAmount(), ProcEventInfo::GetProcSpell(), Unit::HasAura(), POWER_FURY, and SPELL_DH_METAMORPHOSIS_TRANSFORM.
Referenced by Register().
|
inlineprivate |
Definition at line 2037 of file spell_dh.cpp.
References _furySpent, EFFECT_0, EFFECT_1, AuraEffect::GetAmountAsInt(), Unit::GetAura(), Aura::GetDuration(), AuraScript::GetEffect(), AuraScript::GetTarget(), Aura::SetDuration(), and SPELL_DH_METAMORPHOSIS_TRANSFORM.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 2048 of file spell_dh.cpp.
References AuraCheckProcFn, AuraProcFn, CheckFurySpent(), AuraScript::DoCheckProc, HandleProc(), and AuraScript::OnProc.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 2016 of file spell_dh.cpp.
References EFFECT_0, EFFECT_1, SpellInfo::GetEffect(), SpellInfo::Id, SpellEffectInfo::IsAura(), SPELL_DH_METAMORPHOSIS_TRANSFORM, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 2055 of file spell_dh.cpp.
Referenced by CheckFurySpent(), and HandleProc().