2339 {
2342 if (!caster)
2343 return;
2344
2346 {
2350 {
2352
2354 {
2357 }
2358 else
2360 break;
2361 }
2364 {
2366
2368 {
2371 }
2372 else
2374 break;
2375 }
2377 {
2379
2381 {
2384 }
2385 else
2387 break;
2388 }
2389 default:
2390 break;
2391 }
2392 }
@ EQUIPMENT_SLOT_MAINHAND
Definition Player.h:677
@ EQUIPMENT_SLOT_OFFHAND
Definition Player.h:678
@ EQUIPMENT_SLOT_RANGED
Definition Player.h:679
#define INVENTORY_SLOT_BAG_0
Definition Player.h:657
@ 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:298
Player * ToPlayer()
Definition Object.h:202
void SetUInt32Value(uint16 index, uint32 value)
Definition Unit.cpp:17367
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2281
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2278
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2280
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2276
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2277
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2283