2232 {
2235 if (!caster)
2236 return;
2237
2239 {
2243 {
2245
2247 {
2250 }
2251 else
2253 break;
2254 }
2257 {
2259
2261 {
2264 }
2265 else
2267 break;
2268 }
2270 {
2272
2274 {
2277 }
2278 else
2280 break;
2281 }
2282 default:
2283 break;
2284 }
2285 }
@ EQUIPMENT_SLOT_MAINHAND
Definition Player.h:696
@ EQUIPMENT_SLOT_OFFHAND
Definition Player.h:697
@ EQUIPMENT_SLOT_RANGED
Definition Player.h:698
#define INVENTORY_SLOT_BAG_0
Definition Player.h:676
@ 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:305
Player * ToPlayer()
Definition Object.h:202
void SetUInt32Value(uint16 index, uint32 value)
Definition Unit.cpp:21086
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2174
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2171
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2173
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2169
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2170
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2176