![]() |
TrinityCore
|
Inheritance diagram for spell_sha_deeply_rooted_elements:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| bool | Load () override |
| bool | CheckProc (AuraEffect const *, ProcEventInfo const &procInfo) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo const &eventInfo) |
| void | Register () override |
Private Attributes | |
| int32 | _procAttempts = 0 |
| uint32 | _triggeringSpellId = 0 |
| uint32 | _triggeredSpellId = 0 |
Definition at line 640 of file spell_shaman.cpp.
|
inlineprivate |
Definition at line 655 of file spell_shaman.cpp.
References _procAttempts, _triggeringSpellId, ProcEventInfo::GetSpellInfo(), SpellInfo::Id, and roll_chance().
Referenced by Register().
|
inlineprivate |
Definition at line 666 of file spell_shaman.cpp.
References _procAttempts, _triggeredSpellId, WorldObject::CastSpell(), EFFECT_0, ProcEventInfo::GetActor(), AuraEffect::GetAmountAsInt(), Unit::GetAura(), AuraScript::GetEffect(), ProcEventInfo::GetProcSpell(), SPELLVALUE_DURATION, TRIGGERED_IGNORE_CAST_IN_PROGRESS, TRIGGERED_IGNORE_GCD, TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 650 of file spell_shaman.cpp.
References AuraScript::GetUnitOwner(), and BaseEntity::IsPlayer().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 684 of file spell_shaman.cpp.
References _triggeredSpellId, _triggeringSpellId, AuraCheckEffectProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckEffectProc, EFFECT_1, EFFECT_2, EFFECT_3, AuraScript::GetAura(), HandleProc(), None, AuraScript::OnEffectProc, ShamanElemental, ShamanEnhancement, ShamanRestoration, SPELL_AURA_DUMMY, SPELL_SHAMAN_ASCENDANCE_ELEMENTAL, SPELL_SHAMAN_ASCENDANCE_ENHANCEMENT, SPELL_SHAMAN_ASCENDANCE_RESTORATION, SPELL_SHAMAN_LAVA_BURST, SPELL_SHAMAN_RIPTIDE, SPELL_SHAMAN_STORMSTRIKE, and Object::ToPlayer().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 642 of file spell_shaman.cpp.
References EFFECT_0, SpellInfo::GetEffect(), SpellInfo::Id, SpellEffectInfo::IsAura(), SPELL_SHAMAN_ASCENDANCE_ELEMENTAL, SPELL_SHAMAN_ASCENDANCE_ENHANCEMENT, SPELL_SHAMAN_ASCENDANCE_RESTORATION, SPELL_SHAMAN_LAVA_BURST, SPELL_SHAMAN_RIPTIDE, SPELL_SHAMAN_STORMSTRIKE, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 716 of file spell_shaman.cpp.
Referenced by CheckProc(), and HandleProc().
|
private |
Definition at line 718 of file spell_shaman.cpp.
Referenced by HandleProc(), and Register().
|
private |
Definition at line 717 of file spell_shaman.cpp.
Referenced by CheckProc(), and Register().