![]() |
TrinityCore
|
Inheritance diagram for spell_midsummer_fling_torch_catch:Private Member Functions | |
| PrepareSpellScript (spell_midsummer_fling_torch_catch) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleScriptEffect (SpellEffIndex) |
| void | Register () override |
Definition at line 423 of file midsummer.cpp.
|
inlineprivate |
Definition at line 438 of file midsummer.cpp.
References ALLIANCE, WorldObject::CastSpell(), Unit::GetAuraCount(), SpellScript::GetCaster(), SpellScript::GetExplTargetDest(), WorldObject::GetFirstCollisionPosition(), Object::GetGUID(), SpellScript::GetHitPlayer(), Player::GetQuestStatus(), Player::GetTeam(), M_PI, QUEST_MORE_TORCH_CATCHING_A, QUEST_MORE_TORCH_CATCHING_H, QUEST_STATUS_INCOMPLETE, QUEST_TORCH_CATCHING_A, QUEST_TORCH_CATCHING_H, rand_norm(), Unit::RemoveAura(), SPELL_FLING_TORCH_SHADOW, SPELL_FLING_TORCH_TRIGGERED, SPELL_TORCH_CATCHING_REMOVE_TORCHES, SPELL_TORCH_CATCHING_SUCCESS_ALLIANCE, SPELL_TORCH_CATCHING_SUCCESS_HORDE, and SPELL_TORCHES_CAUGHT.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 477 of file midsummer.cpp.
References EFFECT_0, HandleScriptEffect(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 427 of file midsummer.cpp.
References SPELL_FLING_TORCH_SHADOW, SPELL_FLING_TORCH_TRIGGERED, SPELL_TORCH_CATCHING_REMOVE_TORCHES, SPELL_TORCH_CATCHING_SUCCESS_ALLIANCE, SPELL_TORCH_CATCHING_SUCCESS_HORDE, and _SpellScript::ValidateSpellInfo().