1129 {
1132 if (!caster)
1133 return;
1134
1137 spell =
sSpellMgr->GetSpellForDifficultyFromSpell(spell, caster);
1138
1141
1143 }
std::int32_t int32
Definition: Define.h:103
std::uint32_t uint32
Definition: Define.h:107
@ EFFECT_0
Definition: SharedDefines.h:31
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
#define sSpellMgr
Definition: SpellMgr.h:825
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
Definition: SpellInfo.h:316
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition: SpellInfo.h:393
void PreventDefaultAction()
Definition: SpellScript.cpp:985
SpellInfo const * GetSpellInfo() const
Definition: SpellScript.cpp:1005
Unit * GetCaster() const
Definition: SpellScript.cpp:1020
Unit * GetTarget() const
Definition: SpellScript.cpp:1165
ObjectGuid GetCasterGUID() const
Definition: SpellScript.cpp:1015
uint8 GetStackAmount() const
Definition: SpellScript.cpp:1125