2135 {
2138 if (!caster)
2139 return;
2140
2142 {
2146 {
2148
2150 {
2153 }
2154 else
2156 break;
2157 }
2160 {
2162
2164 {
2167 }
2168 else
2170 break;
2171 }
2173 {
2175
2177 {
2180 }
2181 else
2183 break;
2184 }
2185 default:
2186 break;
2187 }
2188 }
@ 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:2077
@ SPELL_COPY_WEAPON_3_AURA
Definition: spell_generic.cpp:2074
@ SPELL_COPY_OFFHAND_AURA
Definition: spell_generic.cpp:2076
@ SPELL_COPY_WEAPON_AURA
Definition: spell_generic.cpp:2072
@ SPELL_COPY_WEAPON_2_AURA
Definition: spell_generic.cpp:2073
@ SPELL_COPY_RANGED_AURA
Definition: spell_generic.cpp:2079
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:1046
SpellInfo const * GetSpellInfo() const
Definition: SpellScript.cpp:1005
Unit * GetCaster() const
Definition: SpellScript.cpp:1020
Unit * GetTarget() const
Definition: SpellScript.cpp:1165