![]() |
TrinityCore
|
Inheritance diagram for spell_lunar_festival_elune_candle:Private Member Functions | |
| PrepareSpellScript (spell_lunar_festival_elune_candle) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleScript (SpellEffIndex) |
| void | Register () override |
Definition at line 429 of file lunar_festival.cpp.
|
inlineprivate |
Definition at line 445 of file lunar_festival.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), NPC_OMEN, SPELL_ELUNE_CANDLE_NORMAL, SPELL_ELUNE_CANDLE_OMEN_CHEST, SPELL_ELUNE_CANDLE_OMEN_HAND_L, SPELL_ELUNE_CANDLE_OMEN_HAND_R, SPELL_ELUNE_CANDLE_OMEN_HEAD, and urand().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 473 of file lunar_festival.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 433 of file lunar_festival.cpp.
References SPELL_ELUNE_CANDLE_NORMAL, SPELL_ELUNE_CANDLE_OMEN_CHEST, SPELL_ELUNE_CANDLE_OMEN_HAND_L, SPELL_ELUNE_CANDLE_OMEN_HAND_R, SPELL_ELUNE_CANDLE_OMEN_HEAD, and _SpellScript::ValidateSpellInfo().