2229 {
2232 if (!caster)
2233 return;
2234
2236 {
2240 {
2242
2244 {
2247 }
2248 else
2250 break;
2251 }
2254 {
2256
2258 {
2261 }
2262 else
2264 break;
2265 }
2267 {
2269
2271 {
2274 }
2275 else
2277 break;
2278 }
2279 default:
2280 break;
2281 }
2282 }
@ EQUIPMENT_SLOT_MAINHAND
Definition Player.h:685
@ EQUIPMENT_SLOT_OFFHAND
Definition Player.h:686
@ EQUIPMENT_SLOT_RANGED
Definition Player.h:687
#define INVENTORY_SLOT_BAG_0
Definition Player.h:665
@ 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:201
void SetUInt32Value(uint16 index, uint32 value)
Definition Unit.cpp:21409
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2171
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2168
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2170
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2166
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2167
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2173