![]() |
TrinityCore
|
Inheritance diagram for spell_sunwell_plateau_cataclysm_breath:Private Member Functions | |
| PrepareSpellScript (spell_sunwell_plateau_cataclysm_breath) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Static Private Attributes | |
| static constexpr std::array< uint32, 8 > | PossibleSpells = { SPELL_CORROSIVE_POISON, SPELL_FEVERED_FATIGUE, SPELL_HEX, SPELL_NECROTIC_POISON, SPELL_PIERCING_SHADOW, SPELL_SHRINK, SPELL_WAVERING_WILL, SPELL_WITHERED_TOUCH } |
Definition at line 37 of file sunwell_plateau.cpp.
|
inlineprivate |
Definition at line 48 of file sunwell_plateau.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), PossibleSpells, and Trinity::Containers::RandomShuffle().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 59 of file sunwell_plateau.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 43 of file sunwell_plateau.cpp.
References PossibleSpells, and _SpellScript::ValidateSpellInfo().
|
staticconstexprprivate |
Definition at line 41 of file sunwell_plateau.cpp.
Referenced by HandleDummy(), and Validate().