3830 {
3832
3835 if (!caster)
3836 {
3837 return;
3838 }
3839
3842
3843 for (
uint8 i = 0; i < stacks; ++i)
3845
3847 }
std::int32_t int32
Definition: Define.h:103
std::uint8_t uint8
Definition: Define.h:109
@ SPELL_GEN_BLADE_WARDING_TRIGGERED
Definition: spell_generic.cpp:3816
@ EFFECT_0
Definition: SharedDefines.h:31
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:150
#define sSpellMgr
Definition: SpellMgr.h:825
Unit * GetActionTarget() const
Definition: Unit.h:440
Unit * GetActor()
Definition: Unit.h:439
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
Definition: SpellInfo.h:316
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition: SpellInfo.h:393
void PreventDefaultAction()
Definition: SpellScript.cpp:985
uint8 GetStackAmount() const
Definition: SpellScript.cpp:1125