2359 {
2362 if (!caster)
2363 return;
2364
2366 {
2370 {
2372
2374 {
2377 }
2378 else
2380 break;
2381 }
2384 {
2386
2388 {
2391 }
2392 else
2394 break;
2395 }
2397 {
2399
2401 {
2404 }
2405 else
2407 break;
2408 }
2409 default:
2410 break;
2411 }
2412 }
@ 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:1025
Unit * GetCaster() const
Definition SpellScript.cpp:1040
Unit * GetTarget() const
Definition SpellScript.cpp:1192
uint32 GetUInt32Value(uint16 index) const
Definition Object.cpp:303
Player * ToPlayer()
Definition Object.h:208
void SetUInt32Value(uint16 index, uint32 value)
Definition Unit.cpp:16996
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2301
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2298
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2300
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2296
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2297
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2303