![]() |
TrinityCore
|
Inheritance diagram for spell_dru_eclipse:Private Member Functions | |
| PrepareAuraScript (spell_dru_eclipse) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| bool | CheckSolar (AuraEffect const *, ProcEventInfo &eventInfo) |
| bool | CheckLunar (AuraEffect const *, ProcEventInfo &eventInfo) |
| void | ProcSolar (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | ProcLunar (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Private Attributes | |
| TimePoint | _lunarProcCooldownEnd = std::chrono::steady_clock::time_point::min() |
| TimePoint | _solarProcCooldownEnd = std::chrono::steady_clock::time_point::min() |
Definition at line 206 of file spell_druid.cpp.
|
inlineprivate |
Definition at line 236 of file spell_druid.cpp.
References _lunarProcCooldownEnd, ProcEventInfo::GetSpellInfo(), GameTime::Now(), roll_chance_i(), and SpellInfo::SpellFamilyFlags.
Referenced by Register().
|
inlineprivate |
Definition at line 219 of file spell_druid.cpp.
References ProcEventInfo::GetActor(), Unit::HasAura(), SPELL_DRUID_ECLIPSE_LUNAR_PROC, and SPELL_DRUID_ECLIPSE_SOLAR_PROC.
Referenced by Register().
|
inlineprivate |
Definition at line 227 of file spell_druid.cpp.
References _solarProcCooldownEnd, ProcEventInfo::GetSpellInfo(), GameTime::Now(), and SpellInfo::SpellFamilyFlags.
Referenced by Register().
|
private |
|
inlineprivate |
Definition at line 257 of file spell_druid.cpp.
References _lunarProcCooldownEnd, WorldObject::CastSpell(), ProcEventInfo::GetActor(), GameTime::Now(), AuraScript::PreventDefaultAction(), and SPELL_DRUID_ECLIPSE_LUNAR_PROC.
Referenced by Register().
|
inlineprivate |
Definition at line 249 of file spell_druid.cpp.
References _solarProcCooldownEnd, WorldObject::CastSpell(), ProcEventInfo::GetActor(), GameTime::Now(), AuraScript::PreventDefaultAction(), and SPELL_DRUID_ECLIPSE_SOLAR_PROC.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 265 of file spell_druid.cpp.
References AuraCheckEffectProcFn, AuraCheckProcFn, AuraEffectProcFn, CheckLunar(), CheckProc(), CheckSolar(), AuraScript::DoCheckEffectProc, AuraScript::DoCheckProc, EFFECT_0, EFFECT_1, AuraScript::OnEffectProc, ProcLunar(), ProcSolar(), and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 210 of file spell_druid.cpp.
References SPELL_DRUID_ECLIPSE_LUNAR_PROC, SPELL_DRUID_ECLIPSE_SOLAR_PROC, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 276 of file spell_druid.cpp.
Referenced by CheckLunar(), and ProcLunar().
|
private |
Definition at line 277 of file spell_druid.cpp.
Referenced by CheckSolar(), and ProcSolar().