2313 {
2316 if (!caster)
2317 return;
2318
2320 {
2324 {
2326
2328 {
2331 }
2332 else
2334 break;
2335 }
2338 {
2340
2342 {
2345 }
2346 else
2348 break;
2349 }
2351 {
2353
2355 {
2358 }
2359 else
2361 break;
2362 }
2363 default:
2364 break;
2365 }
2366 }
@ EQUIPMENT_SLOT_MAINHAND
Definition Player.h:676
@ EQUIPMENT_SLOT_OFFHAND
Definition Player.h:677
@ EQUIPMENT_SLOT_RANGED
Definition Player.h:678
#define INVENTORY_SLOT_BAG_0
Definition Player.h:656
@ UNIT_VIRTUAL_ITEM_SLOT_ID
Definition UpdateFields.h:116
SpellInfo const * GetSpellInfo() const
Definition SpellScript.cpp:1020
Unit * GetCaster() const
Definition SpellScript.cpp:1035
Unit * GetTarget() const
Definition SpellScript.cpp:1180
uint32 GetUInt32Value(uint16 index) const
Definition Object.cpp:294
Player * ToPlayer()
Definition Object.h:202
void SetUInt32Value(uint16 index, uint32 value)
Definition Unit.cpp:17277
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2255
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2252
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2254
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2250
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2251
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2257