1260 float multiplier = 2.0f;
1261 if (
GetTarget()->GetMap()->GetSpawnMode() & 1)
1265 damage =
int32(damage * 1.5f);
Definition: SpellInfo.h:326
Definition: SharedDefines.h:28
void PreventDefaultAction()
Definition: SpellScript.cpp:971
arena_t NULL
Definition: jemalloc_internal.h:624
uint8 GetStackAmount() const
Definition: SpellScript.cpp:1111
Unit * GetTarget() const
Definition: SpellScript.cpp:1151
#define sSpellMgr
Definition: SpellMgr.h:756
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 CalcValue(Unit const *caster=nullptr, int32 const *basePoints=nullptr, Unit const *target=nullptr, float *variance=nullptr, int32 itemLevel=-1) const
Definition: SpellInfo.cpp:455
G3D::Quat pow(const G3D::Quat &q, double x)
Definition: Quat.h:761
Unit * GetCaster() const
Definition: SpellScript.cpp:1006
int32_t int32
Definition: g3dmath.h:167
ObjectGuid GetCasterGUID() const
Definition: SpellScript.cpp:1001
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