![]() |
TrinityCore
|
Inheritance diagram for spell_gen_defend:Private Member Functions | |
| PrepareAuraScript (spell_gen_defend) | |
| bool | Validate (SpellInfo const *) override |
| void | RefreshVisualShields (AuraEffect const *aurEff, AuraEffectHandleModes) |
| void | RemoveVisualShields (AuraEffect const *, AuraEffectHandleModes) |
| void | RemoveDummyFromDriver (AuraEffect const *, AuraEffectHandleModes) |
| void | Register () override |
Definition at line 1310 of file spell_generic.cpp.
|
private |
|
inlineprivate |
Definition at line 1324 of file spell_generic.cpp.
References WorldObject::CastSpell(), AuraScript::GetAura(), AuraScript::GetCaster(), AuraScript::GetId(), AuraScript::GetSpellInfo(), Aura::GetStackAmount(), AuraScript::GetTarget(), Unit::RemoveAurasDueToSpell(), SPELL_VISUAL_SHIELD_1, and SpellInfo::StackAmount.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1353 of file spell_generic.cpp.
References AuraScript::AfterEffectApply, SpellEffectInfo::ApplyAuraName, AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, AuraEffectApplyFn, AuraEffectRemoveFn, EFFECT_0, EFFECT_1, EFFECT_2, SpellInfo::GetEffect(), _SpellScript::m_scriptSpellId, AuraScript::OnEffectRemove, RefreshVisualShields(), RemoveDummyFromDriver(), RemoveVisualShields(), SPELL_AURA_DUMMY, SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN, and sSpellMgr.
|
inlineprivate |
Definition at line 1345 of file spell_generic.cpp.
References AuraScript::GetCaster(), AuraScript::GetId(), and Unit::ToTempSummon().
Referenced by Register().
|
inlineprivate |
Definition at line 1339 of file spell_generic.cpp.
References AuraScript::GetSpellInfo(), AuraScript::GetTarget(), Unit::RemoveAurasDueToSpell(), SPELL_VISUAL_SHIELD_1, and SpellInfo::StackAmount.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1314 of file spell_generic.cpp.
References SPELL_VISUAL_SHIELD_1, SPELL_VISUAL_SHIELD_2, SPELL_VISUAL_SHIELD_3, and _SpellScript::ValidateSpellInfo().