◆ FilterTargets()
void spell_malchezaar_enfeeble::FilterTargets |
( |
std::list< WorldObject * > & |
targets | ) |
|
|
inlineprivate |
371 {
374
375 targets.remove_if([caster](
WorldObject const* target) ->
bool
376 {
377
379 });
380
381 if (targets.size() > maxSize)
382 {
384 }
385 }
std::uint8_t uint8
Definition Define.h:109
Unit * GetCaster()
Definition SpellScript.cpp:401
Unit * GetVictim() const
Definition Unit.h:862
void RandomResize(C &container, std::size_t requestedSize)
Definition Containers.h:79
References SpellScript::GetCaster(), Unit::GetVictim(), and Acore::Containers::RandomResize().
Referenced by Register().
◆ Load()
bool spell_malchezaar_enfeeble::Load |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ PrepareSpellScript()
◆ Register()
void spell_malchezaar_enfeeble::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: