4200 {
4202 {
4205 {
4206 return;
4207 }
4208
4211
4213 {
4214 if (
Item* item = target->GetItemByGuid(onGuardAura->GetCastItemGUID()))
4215 {
4216 target->DestroyItemCount(item->GetEntry(), 1, true);
4217 }
4218 }
4219 }
4220 }
@ SPELL_BONKED
Definition: spell_generic.cpp:4184
@ SPELL_FOAM_SWORD_DEFEAT
Definition: spell_generic.cpp:4185
@ SPELL_ON_GUARD
Definition: spell_generic.cpp:4186
Definition: Player.h:1064
Definition: SpellAuras.h:87
uint8 GetStackAmount() const
Definition: SpellAuras.h:148
Aura * GetHitAura()
Definition: SpellScript.cpp:554
Player * GetHitPlayer()
Definition: SpellScript.cpp:471