![]() |
TrinityCore
|
Inheritance diagram for spell_torghast_uncontrolled_darkness_proc:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect *, ProcEventInfo &) |
| void | Register () override |
Static Private Attributes | |
| static constexpr uint32 | SPELL_UNCONTROLLED_DARKNESS = 341324 |
| static constexpr uint32 | SPELL_UNCONTROLLED_DARKNESS_BUFF = 341375 |
Definition at line 173 of file spell_torghast.cpp.
|
inlineprivate |
Definition at line 184 of file spell_torghast.cpp.
References SpellEffectInfo::CalcValueAsInt(), WorldObject::CastSpell(), EFFECT_0, EFFECT_1, Unit::GetAura(), AuraScript::GetCaster(), SpellInfo::GetEffect(), BaseEntity::GetGUID(), Aura::GetScript(), Aura::GetSpellInfo(), Unit::HasAura(), spell_torghast_uncontrolled_darkness::KillCounter, Unit::RemoveAura(), SPELL_UNCONTROLLED_DARKNESS, and SPELL_UNCONTROLLED_DARKNESS_BUFF.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 216 of file spell_torghast.cpp.
References AuraEffectProcFn, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 178 of file spell_torghast.cpp.
References EFFECT_1, SPELL_UNCONTROLLED_DARKNESS, SPELL_UNCONTROLLED_DARKNESS_BUFF, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().
|
staticconstexprprivate |
Definition at line 175 of file spell_torghast.cpp.
Referenced by HandleProc(), and Validate().
|
staticconstexprprivate |
Definition at line 176 of file spell_torghast.cpp.
Referenced by HandleProc(), and Validate().