void spell_gen_replenishment::spell_gen_replenishment_SpellScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
Definition: SpellScript.h:310
Definition: SharedDefines.h:1925
#define SpellObjectAreaTargetSelectFn(F, I, N)
Definition: SpellScript.h:311
#define EFFECT_ALL
Definition: SharedDefines.h:64
void RemoveInvalidTargets(std::list< WorldObject * > &targets)
Definition: spell_generic.cpp:2770
void spell_gen_replenishment::spell_gen_replenishment_SpellScript::RemoveInvalidTargets |
( |
std::list< WorldObject * > & |
targets | ) |
|
|
inlineprivate |
2775 if (caster->InArena())
2778 targets.push_back(caster);
2785 uint8 const maxTargets = 10;
2787 if (targets.size() > maxTargets)
2790 targets.resize(maxTargets);
Unit * GetCaster()
Definition: SpellScript.cpp:394
uint8_t uint8
Definition: Define.h:152
Definition: spell_generic.cpp:2749
Definition: SharedDefines.h:248
The documentation for this class was generated from the following file: