3856 {
3858
3861 if (!caster)
3862 {
3863 return;
3864 }
3865
3868
3869 for (
uint8 i = 0; i < stacks; ++i)
3871
3873 }
std::int32_t int32
Definition: Define.h:103
std::uint8_t uint8
Definition: Define.h:109
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:114
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:148
#define sSpellMgr
Definition: SpellMgr.h:825
@ SPELL_GEN_BLADE_WARDING_TRIGGERED
Definition: spell_generic.cpp:3842
@ EFFECT_0
Definition: SharedDefines.h:31
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:1225
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