2228 {
2231 if (!caster)
2232 return;
2233
2235 {
2239 {
2241
2243 {
2246 }
2247 else
2249 break;
2250 }
2253 {
2255
2257 {
2260 }
2261 else
2263 break;
2264 }
2266 {
2268
2270 {
2273 }
2274 else
2276 break;
2277 }
2278 default:
2279 break;
2280 }
2281 }
@ EQUIPMENT_SLOT_MAINHAND
Definition Player.h:686
@ EQUIPMENT_SLOT_OFFHAND
Definition Player.h:687
@ EQUIPMENT_SLOT_RANGED
Definition Player.h:688
#define INVENTORY_SLOT_BAG_0
Definition Player.h:666
@ UNIT_VIRTUAL_ITEM_SLOT_ID
Definition UpdateFields.h:116
SpellInfo const * GetSpellInfo() const
Definition SpellScript.cpp:1005
Unit * GetCaster() const
Definition SpellScript.cpp:1020
Unit * GetTarget() const
Definition SpellScript.cpp:1165
uint32 GetUInt32Value(uint16 index) const
Definition Object.cpp:294
Player * ToPlayer()
Definition Object.h:202
void SetUInt32Value(uint16 index, uint32 value)
Definition Unit.cpp:21182
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2170
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2167
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2169
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2165
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2166
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2172