2312 {
2315 if (!caster)
2316 return;
2317
2319 {
2323 {
2325
2327 {
2330 }
2331 else
2333 break;
2334 }
2337 {
2339
2341 {
2344 }
2345 else
2347 break;
2348 }
2350 {
2352
2354 {
2357 }
2358 else
2360 break;
2361 }
2362 default:
2363 break;
2364 }
2365 }
@ 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:17358
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2254
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2251
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2253
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2249
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2250
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2256