![]() |
TrinityCore
|
Inheritance diagram for spell_pal_holy_prism_selector:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | SaveTargetGuid (SpellEffIndex) |
| void | FilterTargets (std::list< WorldObject * > &targets) |
| void | ShareTargets (std::list< WorldObject * > &targets) |
| void | HandleScript (SpellEffIndex) |
| void | Register () override |
Private Attributes | |
| std::list< WorldObject * > | _sharedTargets |
| ObjectGuid | _targetGUID |
Definition at line 1174 of file spell_paladin.cpp.
|
inlineprivate |
Definition at line 1186 of file spell_paladin.cpp.
References _sharedTargets, SpellScript::GetSpellInfo(), Trinity::Containers::RandomResize(), and SPELL_PALADIN_HOLY_PRISM_TARGET_ALLY.
Referenced by Register().
|
inlineprivate |
Definition at line 1209 of file spell_paladin.cpp.
References _targetGUID, SpellScript::GetCaster(), SpellScript::GetHitUnit(), ObjectAccessor::GetUnit(), and SPELL_PALADIN_HOLY_PRISM_AREA_BEAM_VISUAL.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1215 of file spell_paladin.cpp.
References EFFECT_0, EFFECT_1, EFFECT_2, FilterTargets(), HandleScript(), SpellScriptBase::m_scriptSpellId, SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, SaveTargetGuid(), ShareTargets(), SPELL_EFFECT_ANY, SPELL_EFFECT_SCRIPT_EFFECT, SPELL_PALADIN_HOLY_PRISM_TARGET_ALLY, SPELL_PALADIN_HOLY_PRISM_TARGET_ENEMY, SpellEffectFn, SpellObjectAreaTargetSelectFn, TARGET_UNIT_DEST_AREA_ALLY, TARGET_UNIT_DEST_AREA_ENEMY, and TARGET_UNIT_DEST_AREA_ENTRY.
|
inlineprivate |
Definition at line 1181 of file spell_paladin.cpp.
References _targetGUID, BaseEntity::GetGUID(), and SpellScript::GetHitUnit().
Referenced by Register().
|
inlineprivate |
Definition at line 1204 of file spell_paladin.cpp.
References _sharedTargets.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1176 of file spell_paladin.cpp.
References SPELL_PALADIN_HOLY_PRISM_AREA_BEAM_VISUAL, SPELL_PALADIN_HOLY_PRISM_TARGET_ALLY, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 1229 of file spell_paladin.cpp.
Referenced by FilterTargets(), and ShareTargets().
|
private |
Definition at line 1230 of file spell_paladin.cpp.
Referenced by HandleScript(), and SaveTargetGuid().