2230 {
2233 if (!caster)
2234 return;
2235
2237 {
2241 {
2243
2245 {
2248 }
2249 else
2251 break;
2252 }
2255 {
2257
2259 {
2262 }
2263 else
2265 break;
2266 }
2268 {
2270
2272 {
2275 }
2276 else
2278 break;
2279 }
2280 default:
2281 break;
2282 }
2283 }
@ 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:21414
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2172
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2169
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2171
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2167
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2168
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2174