1314 {
1317 if (!caster)
1318 return;
1319
1320 std::list<Creature*> summoners;
1322 std::list<Creature*> list_copy = summoners;
1324 if (summoners.empty())
1325 {
1326 if (list_copy.empty())
1327 return;
1328 summoners = list_copy;
1329 }
1331
1332 for (
uint32 i = 0; i < 3; ++i)
1334 for (
uint32 i = 0; i < 3; ++i)
1336 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_SUMMON_SUPPRESSER
Definition: boss_valithria_dreamwalker.cpp:71
@ SPELL_RECENTLY_SPAWNED
Definition: boss_valithria_dreamwalker.cpp:72
@ NPC_WORLD_TRIGGER
Definition: trial_of_the_crusader.h:152
void RandomResize(C &container, std::size_t requestedSize)
Definition: Containers.h:79
void GetCreaturesWithEntryInRange(std::list< Creature * > &creatureList, float radius, uint32 entry)
Definition: Object.cpp:3084
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:1168
Definition: GridNotifiers.h:1627
void PreventDefaultAction()
Definition: SpellScript.cpp:985
Unit * GetCaster() const
Definition: SpellScript.cpp:1020