207 int32 mod =
int32(((
float(aurEff->GetTickNumber()) / aurEff->GetTotalTicks()) * 0.9f + 0.1f) * 10000 * 2 / 3);
void PreventDefaultAction()
Definition: SpellScript.cpp:971
arena_t NULL
Definition: jemalloc_internal.h:624
Will ignore most target checks (mostly DBC target checks)
Definition: Unit.h:479
Unit * GetTarget() const
Definition: SpellScript.cpp:1151
SpellInfo const * GetSpellInfo() const
Definition: SpellScript.cpp:991
int32_t int32
Definition: Define.h:146
uint32_t uint32
Definition: Define.h:150
SpellEffectInfo const * GetEffect(uint32 difficulty, uint32 index) const
Definition: SpellInfo.cpp:3348
int32_t int32
Definition: g3dmath.h:167
void CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:920