1267 {
1268 targets.remove(
GetCaster()->GetVictim());
1269 if (targets.empty())
1270 return;
1271
1273 {
1275 targets.clear();
1276 targets.push_back(target);
1277 }
1278 else
1280 }
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