117 {
119
120
123 if (procTarget && damageInfo)
124 {
126
131 }
132 }
std::int32_t int32
Definition: Define.h:103
@ SPELL_ROGUE_BLADE_FLURRY_EXTRA_ATTACK
Definition: spell_rogue.cpp:33
@ SPELLVALUE_FORCED_CRIT_RESULT
Definition: SpellDefines.h:120
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:150
@ PROC_EX_CRITICAL_HIT
Definition: SpellMgr.h:195
Unit * GetUnit(WorldObject const &, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:199
uint32 GetUnmitigatedDamage() const
Definition: Unit.cpp:172
uint32 GetHitMask() const
Definition: Unit.h:445
DamageInfo * GetDamageInfo() const
Definition: Unit.h:449
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: SpellDefines.h:165
void AddSpellMod(SpellValueMod mod, int32 value)
Definition: SpellDefines.h:167
void PreventDefaultAction()
Definition: SpellScript.cpp:985
Unit * GetTarget() const
Definition: SpellScript.cpp:1165