![]() |
TrinityCore
|
Inheritance diagram for spell_dh_chaos_theory:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | ChaosTheory () const |
| void | Register () override |
Definition at line 393 of file spell_dh.cpp.
|
inlineprivate |
Definition at line 410 of file spell_dh.cpp.
References WorldObject::CastSpell(), EFFECT_0, EFFECT_1, frand(), AuraEffect::GetAmount(), Unit::GetAura(), SpellScript::GetCaster(), Aura::GetEffect(), SPELL_DH_CHAOS_THEORY_CRIT, SPELL_DH_CHAOS_THEORY_TALENT, SPELLVALUE_BASE_POINT0, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 405 of file spell_dh.cpp.
References SpellScript::GetCaster(), Unit::HasAura(), and SPELL_DH_CHAOS_THEORY_TALENT.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 429 of file spell_dh.cpp.
References SpellScript::AfterCast, ChaosTheory(), and SpellCastFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 395 of file spell_dh.cpp.
References SpellEffectInfo::CalcValue(), DIFFICULTY_NONE, EFFECT_0, EFFECT_1, SpellInfo::GetEffect(), SPELL_DH_CHAOS_THEORY_CRIT, SPELL_DH_CHAOS_THEORY_TALENT, sSpellMgr, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().