4174 {
4176 {
4179 {
4180 return;
4181 }
4182
4185
4187 {
4188 if (
Item* item = target->GetItemByGuid(onGuardAura->GetCastItemGUID()))
4189 {
4190 target->DestroyItemCount(item->GetEntry(), 1, true);
4191 }
4192 }
4193 }
4194 }
@ SPELL_BONKED
Definition: spell_generic.cpp:4158
@ SPELL_FOAM_SWORD_DEFEAT
Definition: spell_generic.cpp:4159
@ SPELL_ON_GUARD
Definition: spell_generic.cpp:4160
Definition: Player.h:1081
Definition: SpellAuras.h:87
uint8 GetStackAmount() const
Definition: SpellAuras.h:148
Aura * GetHitAura()
Definition: SpellScript.cpp:554
Player * GetHitPlayer()
Definition: SpellScript.cpp:471