![]() |
TrinityCore
|
Inheritance diagram for spell_warl_shadowburn:Static Public Member Functions | |
| static void | TryEnergize (Player *caster, Unit const *target, SpellInfo const *spellInfo, Spell const *triggeringSpell, AuraEffect const *triggeringAura) |
Static Public Member Functions inherited from SpellScriptBase | |
| static bool | ValidateSpellInfo (std::initializer_list< uint32 > spellIds) |
| template<class T > | |
| static bool | ValidateSpellInfo (T const &spellIds) |
| static bool | ValidateSpellEffect (std::initializer_list< std::pair< uint32, SpellEffIndex > > effects) |
| template<class T > | |
| static bool | ValidateSpellEffect (T const &spellEffects) |
Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | HandleEnergize () const |
| void | CalcCritChance (Unit const *victim, float &critChance) const |
| void | Register () override |
Definition at line 1316 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 1338 of file spell_warlock.cpp.
References SpellEffectInfo::CalcValue(), EFFECT_2, EFFECT_3, SpellScript::GetCaster(), SpellScript::GetEffectInfo(), and Unit::HealthBelowPct().
Referenced by Register().
|
inlineprivate |
Definition at line 1324 of file spell_warlock.cpp.
References SpellScript::GetCaster(), SpellScript::GetHitAura(), SpellScript::GetHitUnit(), SpellScript::GetSpell(), SpellScript::GetSpellInfo(), Aura::IsRemoved(), Object::ToPlayer(), and TryEnergize().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1344 of file spell_warlock.cpp.
References SpellScript::AfterHit, CalcCritChance(), HandleEnergize(), SpellScript::OnCalcCritChance, SpellHitFn, and SpellOnCalcCritChanceFn.
|
inlinestatic |
Definition at line 1351 of file spell_warlock.cpp.
References WorldObject::CastSpell(), SpellInfo::ChargeCategoryId, Unit::GetSpellHistory(), Player::isHonorOrXPTarget(), SpellHistory::RestoreCharge(), SPELL_WARLOCK_SHADOWBURN_ENERGIZE, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by HandleEnergize(), and spell_warl_shadowburn_aura::RemoveEffect().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1318 of file spell_warlock.cpp.
References EFFECT_3, SpellInfo::Id, SPELL_WARLOCK_SHADOWBURN_ENERGIZE, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().