1266 {
1267 targets.remove(
GetCaster()->GetVictim());
1268 if (targets.empty())
1269 return;
1270
1272 {
1274 targets.clear();
1275 targets.push_back(target);
1276 }
1277 else
1279 }
auto SelectRandomContainerElement(C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type &
Definition: Containers.h:133
void RandomResize(C &container, std::size_t requestedSize)
Definition: Containers.h:79
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401