![]() |
TrinityCore
|
Inheritance diagram for spell_sha_chain_lightning_crash_lightning:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | HandleCooldownReduction (SpellEffIndex) const |
| void | HandleDamageBuff (SpellEffIndex effIndex) const |
| void | Register () override |
Definition at line 426 of file spell_shaman.cpp.
|
inlineprivate |
Definition at line 438 of file spell_shaman.cpp.
References EFFECT_0, SpellScript::GetCaster(), SpellScript::GetEffectValueAsInt(), Unit::GetSpellHistory(), SpellScript::GetUnitTargetCountForEffect(), SpellHistory::ModifyCooldown(), and SPELL_SHAMAN_CRASH_LIGHTNING.
Referenced by Register().
|
inlineprivate |
Definition at line 443 of file spell_shaman.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetUnitTargetCountForEffect(), SPELL_SHAMAN_CRASH_LIGHTNING_DAMAGE_BUFF, SPELLVALUE_AURA_STACK, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 433 of file spell_shaman.cpp.
References SpellScript::GetCaster(), Unit::HasSpell(), and SPELL_SHAMAN_CRASH_LIGHTNING.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 453 of file spell_shaman.cpp.
References EFFECT_0, EFFECT_2, HandleCooldownReduction(), HandleDamageBuff(), SpellScript::OnEffectLaunch, SPELL_EFFECT_DUMMY, SPELL_EFFECT_SCHOOL_DAMAGE, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 428 of file spell_shaman.cpp.
References SPELL_SHAMAN_CRASH_LIGHTNING, SPELL_SHAMAN_CRASH_LIGHTNING_DAMAGE_BUFF, and SpellScriptBase::ValidateSpellInfo().