1083 {
1085
1087 std::list<Unit*> targetList;
1088 for (ThreatContainer::StorageType::const_iterator itr = ThreatList.begin(); itr != ThreatList.end(); ++itr)
1089 {
1092 targetList.push_back(target);
1093 }
1094
1096 for (std::list<Unit*>::const_iterator itr = targetList.begin(); itr != targetList.end(); ++itr)
1098 }
@ SPELL_NETHER_BEAM_DAMAGE
Definition: boss_kaelthas.cpp:109
void RandomResize(C &container, std::size_t requestedSize)
Definition: Containers.h:79
Unit * GetUnit(WorldObject const &, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:199
std::list< HostileReference * > StorageType
Definition: ThreatMgr.h:147
bool IsPlayer() const
Definition: Object.h:200
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1167
void PreventHitEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:579
Unit * GetCaster()
Definition: SpellScript.cpp:401