2233 {
2236 if (!caster)
2237 return;
2238
2240 {
2244 {
2246
2248 {
2251 }
2252 else
2254 break;
2255 }
2258 {
2260
2262 {
2265 }
2266 else
2268 break;
2269 }
2271 {
2273
2275 {
2278 }
2279 else
2281 break;
2282 }
2283 default:
2284 break;
2285 }
2286 }
@ 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:201
void SetUInt32Value(uint16 index, uint32 value)
Definition Unit.cpp:21358
@ SPELL_COPY_OFFHAND_2_AURA
Definition spell_generic.cpp:2175
@ SPELL_COPY_WEAPON_3_AURA
Definition spell_generic.cpp:2172
@ SPELL_COPY_OFFHAND_AURA
Definition spell_generic.cpp:2174
@ SPELL_COPY_WEAPON_AURA
Definition spell_generic.cpp:2170
@ SPELL_COPY_WEAPON_2_AURA
Definition spell_generic.cpp:2171
@ SPELL_COPY_RANGED_AURA
Definition spell_generic.cpp:2177