|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | OnApply (AuraEffect const *, AuraEffectHandleModes) |
| void | OnRemove (AuraEffect const *, AuraEffectHandleModes) |
| PrepareAuraScript (spell_gen_clone_weapon_auraScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Private Attributes | |
| uint32 | prevItem |
Definition at line 985 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 1003 of file spell_generic.cpp.
References EQUIPMENT_SLOT_MAINHAND, EQUIPMENT_SLOT_OFFHAND, AuraScript::GetCaster(), AuraScript::GetSpellInfo(), AuraScript::GetTarget(), Object::GetUInt32Value(), INVENTORY_SLOT_BAG_0, prevItem, Object::SetUInt32Value(), SPELL_COPY_OFFHAND_2_AURA, SPELL_COPY_OFFHAND_AURA, SPELL_COPY_RANGED_AURA, SPELL_COPY_WEAPON_2_AURA, SPELL_COPY_WEAPON_3_AURA, SPELL_COPY_WEAPON_AURA, Object::ToPlayer(), and UNIT_FIELD_VIRTUAL_ITEM_ID.
Referenced by Register().
|
inlineprivate |
Definition at line 1059 of file spell_generic.cpp.
References AuraScript::GetSpellInfo(), AuraScript::GetTarget(), prevItem, Object::SetUInt32Value(), SPELL_COPY_OFFHAND_2_AURA, SPELL_COPY_OFFHAND_AURA, SPELL_COPY_RANGED_AURA, SPELL_COPY_WEAPON_2_AURA, SPELL_COPY_WEAPON_3_AURA, SPELL_COPY_WEAPON_AURA, and UNIT_FIELD_VIRTUAL_ITEM_ID.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 1082 of file spell_generic.cpp.
References AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, AuraEffectApplyFn, AuraEffectRemoveFn, EFFECT_0, OnApply(), AuraScript::OnEffectApply, AuraScript::OnEffectRemove, OnRemove(), OVERRIDE, and SPELL_AURA_PERIODIC_DUMMY.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 991 of file spell_generic.cpp.
References OVERRIDE, SPELL_COPY_OFFHAND_2_AURA, SPELL_COPY_OFFHAND_AURA, SPELL_COPY_RANGED_AURA, SPELL_COPY_WEAPON_2_AURA, SPELL_COPY_WEAPON_3_AURA, SPELL_COPY_WEAPON_AURA, and sSpellMgr.
|
private |
Definition at line 989 of file spell_generic.cpp.
Referenced by OnApply(), and OnRemove().