824 {
826
828
829
833 {
837 if (!spellInfo)
838 return;
839 }
840
841
842
845
846 if (mana > 0)
847 {
849 }
850 }
std::int32_t int32
Definition Define.h:103
std::uint8_t uint8
Definition Define.h:109
@ SPELLFAMILY_MAGE
Definition SharedDefines.h:3789
@ SPELLVALUE_BASE_POINT0
Definition SpellDefines.h:113
#define sSpellMgr
Definition SpellMgr.h:836
T CalculatePct(T base, U pct)
Definition Util.h:52
void PreventDefaultAction()
Definition SpellScript.cpp:1000
Unit * GetTarget() const
Definition SpellScript.cpp:1180
Definition SpellInfo.h:340
uint32 Id
Definition SpellInfo.h:344
uint32 ManaCostPercentage
Definition SpellInfo.h:391
uint32 SpellIconID
Definition SpellInfo.h:404
uint32 SpellFamilyName
Definition SpellInfo.h:411
uint32 ManaCost
Definition SpellInfo.h:387
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:1407
@ MAGE_ICON_LIVING_BOMB
Definition spell_mage.cpp:82
@ SPELL_MAGE_MASTER_OF_ELEMENTS_ENERGIZE
Definition spell_mage.cpp:47
@ SPELL_MAGE_LIVING_BOMB_R1
Definition spell_mage.cpp:73