2258 {
2261 if (!caster)
2262 return;
2263
2265 {
2269 {
2271
2273 {
2276 }
2277 else
2279 break;
2280 }
2283 {
2285
2287 {
2290 }
2291 else
2293 break;
2294 }
2296 {
2298
2300 {
2303 }
2304 else
2306 break;
2307 }
2308 default:
2309 break;
2310 }
2311 }
@ UNIT_VIRTUAL_ITEM_SLOT_ID
Definition: UpdateFields.h:116
@ EQUIPMENT_SLOT_MAINHAND
Definition: Player.h:690
@ EQUIPMENT_SLOT_OFFHAND
Definition: Player.h:691
@ EQUIPMENT_SLOT_RANGED
Definition: Player.h:692
#define INVENTORY_SLOT_BAG_0
Definition: Player.h:670
@ SPELL_COPY_OFFHAND_2_AURA
Definition: spell_generic.cpp:2200
@ SPELL_COPY_WEAPON_3_AURA
Definition: spell_generic.cpp:2197
@ SPELL_COPY_OFFHAND_AURA
Definition: spell_generic.cpp:2199
@ SPELL_COPY_WEAPON_AURA
Definition: spell_generic.cpp:2195
@ SPELL_COPY_WEAPON_2_AURA
Definition: spell_generic.cpp:2196
@ SPELL_COPY_RANGED_AURA
Definition: spell_generic.cpp:2202
uint32 GetUInt32Value(uint16 index) const
Definition: Object.cpp:305
Player * ToPlayer()
Definition: Object.h:198
Definition: Player.h:1064
void SetUInt32Value(uint16 index, uint32 value)
Definition: Unit.cpp:21256
SpellInfo const * GetSpellInfo() const
Definition: SpellScript.cpp:1005
Unit * GetCaster() const
Definition: SpellScript.cpp:1020
Unit * GetTarget() const
Definition: SpellScript.cpp:1165