![]() |
TrinityCore
|
Inheritance diagram for spell_quest_portal_with_condition:Private Member Functions | |
| PrepareSpellScript (spell_quest_portal_with_condition) | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | HandleScriptEffect (SpellEffIndex) |
| void | Register () override |
Definition at line 141 of file spell_quest.cpp.
|
inlineprivate |
Definition at line 151 of file spell_quest.cpp.
References SpellEffectInfo::CalcValue(), WorldObject::CastSpell(), EFFECT_1, SpellScript::GetEffectInfo(), SpellScript::GetHitPlayer(), and Player::IsActiveQuest().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 165 of file spell_quest.cpp.
References EFFECT_0, HandleScriptEffect(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 145 of file spell_quest.cpp.
References SpellEffectInfo::CalcValue(), EFFECT_0, EFFECT_1, SpellInfo::GetEffect(), sObjectMgr, and _SpellScript::ValidateSpellInfo().