|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| PrepareAuraScript (spell_gen_defend_AuraScript) | |
| void | RefreshVisualShields (AuraEffect const *aurEff, AuraEffectHandleModes) |
| void | Register () OVERRIDE |
| void | RemoveDummyFromDriver (AuraEffect const *, AuraEffectHandleModes) |
| void | RemoveVisualShields (AuraEffect const *, AuraEffectHandleModes) |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 1299 of file spell_generic.cpp.
|
private |
|
inlineprivate |
Definition at line 1314 of file spell_generic.cpp.
References Unit::CastSpell(), AuraScript::GetAura(), AuraScript::GetCaster(), AuraScript::GetId(), AuraScript::GetSpellInfo(), AuraScript::GetStackAmount(), AuraScript::GetTarget(), Unit::RemoveAurasDueToSpell(), SPELL_VISUAL_SHIELD_1, and SpellInfo::StackAmount.
Referenced by Register().
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 1343 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::Effects, _SpellScript::m_scriptSpellId, AuraScript::OnEffectRemove, OVERRIDE, RefreshVisualShields(), RemoveDummyFromDriver(), RemoveVisualShields(), SPELL_AURA_DUMMY, SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN, and sSpellMgr.
|
inlineprivate |
Definition at line 1335 of file spell_generic.cpp.
References AuraScript::GetCaster(), AuraScript::GetId(), and Unit::ToTempSummon().
Referenced by Register().
|
inlineprivate |
Definition at line 1329 of file spell_generic.cpp.
References AuraScript::GetSpellInfo(), AuraScript::GetTarget(), Unit::RemoveAurasDueToSpell(), SPELL_VISUAL_SHIELD_1, and SpellInfo::StackAmount.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1303 of file spell_generic.cpp.
References OVERRIDE, SPELL_VISUAL_SHIELD_1, SPELL_VISUAL_SHIELD_2, SPELL_VISUAL_SHIELD_3, and sSpellMgr.