649 {
651
653 {
656
657 if (aurEff->GetAmount() > newAmount)
659 }
660
662 }
@ EFFECT_0
Definition: SharedDefines.h:31
SpellFamilyNames
Definition: SharedDefines.h:3527
@ SPELL_FAILED_AURA_BOUNCED
Definition: SharedDefines.h:958
@ SPELL_CAST_OK
Definition: SharedDefines.h:1138
@ SPELL_AURA_SCHOOL_ABSORB
Definition: SpellAuraDefines.h:132
AuraEffect * GetAuraEffect(uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const
Definition: Unit.cpp:5494
Definition: SpellAuraEffects.h:39
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition: SpellInfo.h:393
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401
static int32 CalculateSpellAmount(Unit *caster, int32 amount, SpellInfo const *spellInfo, const AuraEffect *aurEff)
Definition: spell_mage.cpp:631