![]() |
TrinityCore
|
Inheritance diagram for spell_sha_downpour:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | CountEffectivelyHealedTarget () |
| void | HandleCooldown () const |
| void | Register () override |
Static Private Member Functions | |
| static void | FilterTargets (SpellScript const &, std::list< WorldObject * > &targets) |
Private Attributes | |
| int32 | _healedTargets = 0 |
Definition at line 770 of file spell_shaman.cpp.
|
inlineprivate |
Definition at line 782 of file spell_shaman.cpp.
References _healedTargets, and SpellScript::GetHitHeal().
Referenced by Register().
|
inlinestaticprivate |
Definition at line 777 of file spell_shaman.cpp.
References Trinity::SelectRandomInjuredTargets().
Referenced by Register().
|
inlineprivate |
Definition at line 789 of file spell_shaman.cpp.
References _healedTargets, EFFECT_1, SpellScript::GetCaster(), SpellScript::GetEffectInfo(), SpellScript::GetSpell(), Unit::GetSpellHistory(), SpellScript::GetSpellInfo(), and SpellHistory::StartCooldown().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 795 of file spell_shaman.cpp.
References SpellScript::AfterCast, SpellScript::AfterHit, CountEffectivelyHealedTarget(), EFFECT_0, FilterTargets(), HandleCooldown(), SpellScript::OnObjectAreaTargetSelect, SpellCastFn, SpellHitFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_DEST_AREA_ALLY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 772 of file spell_shaman.cpp.
References EFFECT_1, SpellInfo::Id, and SpellScriptBase::ValidateSpellEffect().
|
private |
Definition at line 802 of file spell_shaman.cpp.
Referenced by CountEffectivelyHealedTarget(), and HandleCooldown().