769 {
771
773
774 if (!damageInfo || !damageInfo->
GetDamage())
775 {
776 return;
777 }
778
781 }
T CalculatePct(T base, U pct)
Definition: Util.h:61
std::int32_t int32
Definition: Define.h:103
@ SPELL_ESSENCE_OF_THE_BLOOD_QUEEN_HEAL
Definition: boss_blood_queen_lana_thel.cpp:52
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:150
uint32 GetDamage() const
Definition: Unit.h:364
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
void PreventDefaultAction()
Definition: SpellScript.cpp:985
Unit * GetTarget() const
Definition: SpellScript.cpp:1165