608 rider->CastSpell(target, spellId,
false);
616 for (Unit::AuraApplicationMap::const_iterator itr = auras.begin(); itr != auras.end(); ++itr)
618 if (
Aura* aura = itr->second->GetBase())
620 SpellInfo const* auraInfo = aura->GetSpellInfo();
626 if (
Aura* defend = rider->GetAura(aura->GetId()))
Unit * GetCharmer() const
Definition: Unit.cpp:7551
Definition: SpellAuraDefines.h:147
Definition: SharedDefines.h:29
Definition: SpellInfo.h:326
Definition: SharedDefines.h:28
Definition: spell_generic.cpp:567
AuraApplicationMap & GetAppliedAuras()
Definition: Unit.h:1789
Definition: spell_generic.cpp:572
uint32_t uint32
Definition: Define.h:150
Definition: spell_generic.cpp:568
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:404
Unit * GetCaster()
Definition: SpellScript.cpp:394
Definition: spell_generic.cpp:571
uint32 SpellIconID
Definition: SpellInfo.h:390
Unit * GetHitUnit()
Definition: SpellScript.cpp:441
std::multimap< uint32, AuraApplication * > AuraApplicationMap
Definition: Unit.h:1315
Definition: SpellAuras.h:116
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
Definition: spell_generic.cpp:570