void spell_varos_energize_core_area_enemy::spell_varos_energize_core_area_enemySpellScript::FilterTargets |
( |
std::list< WorldObject * > & |
targets | ) |
|
|
inlineprivate |
329 for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end();)
331 float angle = varos->
GetAngle((*itr)->GetPositionX(), (*itr)->GetPositionY());
332 float diff = std::fabs(orientation - angle);
335 itr = targets.erase(itr);
Definition: Creature.h:467
#define ENSURE_AI(a, b)
Definition: ScriptedCreature.h:29
Definition: boss_varos.cpp:60
CreatureAI * AI() const
Definition: Creature.h:525
float GetAngle(Position const *pos) const
Definition: Position.cpp:63
Unit * GetCaster()
Definition: SpellScript.cpp:394
Creature * ToCreature()
Definition: Object.h:194
uint32 GetEntry() const
Definition: Object.h:107
void spell_varos_energize_core_area_enemy::spell_varos_energize_core_area_enemySpellScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
Definition: SpellScript.h:310
void FilterTargets(std::list< WorldObject * > &targets)
Definition: boss_varos.cpp:318
Definition: SharedDefines.h:28
#define SpellObjectAreaTargetSelectFn(F, I, N)
Definition: SpellScript.h:311
Definition: SharedDefines.h:1885
The documentation for this class was generated from the following file: