601 {
602 if ((aurEff->GetTickNumber() % 2) == 0)
603 return;
607 float multiplier = 0.5f + herobonus + 0.1f *
uint32(aurEff->GetTickNumber() / 10);
608 damage =
int32(damage * multiplier);
610 }
std::int32_t int32
Definition: Define.h:103
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_PACT_OF_THE_DARKFALLEN_DAMAGE
Definition: boss_blood_queen_lana_thel.cpp:64
@ EFFECT_0
Definition: SharedDefines.h:31
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
#define sSpellMgr
Definition: SpellMgr.h:825
Map * FindMap() const
Definition: Object.h:537
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
bool IsHeroic() const
Definition: Map.h:450
Definition: SpellInfo.h:316
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition: SpellInfo.h:393
Unit * GetTarget() const
Definition: SpellScript.cpp:1165