2231 {
2234 if (!caster)
2235 return;
2236
2238 {
2242 {
2244
2246 {
2249 }
2250 else
2252 break;
2253 }
2256 {
2258
2260 {
2263 }
2264 else
2266 break;
2267 }
2269 {
2271
2273 {
2276 }
2277 else
2279 break;
2280 }
2281 default:
2282 break;
2283 }
2284 }
@ UNIT_VIRTUAL_ITEM_SLOT_ID
Definition: UpdateFields.h:116
@ EQUIPMENT_SLOT_MAINHAND
Definition: Player.h:691
@ EQUIPMENT_SLOT_OFFHAND
Definition: Player.h:692
@ EQUIPMENT_SLOT_RANGED
Definition: Player.h:693
#define INVENTORY_SLOT_BAG_0
Definition: Player.h:671
@ SPELL_COPY_OFFHAND_2_AURA
Definition: spell_generic.cpp:2173
@ SPELL_COPY_WEAPON_3_AURA
Definition: spell_generic.cpp:2170
@ SPELL_COPY_OFFHAND_AURA
Definition: spell_generic.cpp:2172
@ SPELL_COPY_WEAPON_AURA
Definition: spell_generic.cpp:2168
@ SPELL_COPY_WEAPON_2_AURA
Definition: spell_generic.cpp:2169
@ SPELL_COPY_RANGED_AURA
Definition: spell_generic.cpp:2175
uint32 GetUInt32Value(uint16 index) const
Definition: Object.cpp:305
Player * ToPlayer()
Definition: Object.h:195
void SetUInt32Value(uint16 index, uint32 value)
Definition: Object.cpp:650
Definition: Player.h:1056
SpellInfo const * GetSpellInfo() const
Definition: SpellScript.cpp:1005
Unit * GetCaster() const
Definition: SpellScript.cpp:1020
Unit * GetTarget() const
Definition: SpellScript.cpp:1165