390 {
393 if (count == 0)
394 return;
395
398 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:147
@ SPELL_CHAOTIC_CHARGE
Definition: black_temple.h:112
SpellCastResult CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1224
uint32 GetAuraCount(uint32 spellId) const
Definition: Unit.cpp:5660
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4890
void PreventDefaultAction()
Definition: SpellScript.cpp:985
SpellInfo const * GetSpellInfo() const
Definition: SpellScript.cpp:1005
Unit * GetUnitOwner() const
Definition: SpellScript.cpp:1030