![]() |
TrinityCore
|
Inheritance diagram for spell_midsummer_fling_torch_catch:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleScriptEffect (SpellEffIndex) |
| void | Register () override |
Definition at line 401 of file midsummer.cpp.
|
inlineprivate |
Definition at line 414 of file midsummer.cpp.
References ALLIANCE, WorldObject::CastSpell(), Unit::GetAuraCount(), SpellScript::GetCaster(), SpellScript::GetExplTargetDest(), WorldObject::GetFirstCollisionPosition(), BaseEntity::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().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 453 of file midsummer.cpp.
References EFFECT_0, HandleScriptEffect(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 403 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 SpellScriptBase::ValidateSpellInfo().