172 me->DespawnOrUnsummon();
190 me->GetMotionMaster()->MoveIdle();
209 me->GetMotionMaster()->MovePoint(
ACTION_CALL_DRAGON_EVENT, victim->GetPositionX(), victim->GetPositionY(), victim->GetPositionZ() + 20.0f);
289 void FilterTargets(std::list<WorldObject*>& targets)
300 for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end();)
305 float angle = varos->
GetAngle((*itr)->GetPositionX(), (*itr)->GetPositionY());
306 float diff = fabs(orientation - angle);
309 itr = targets.erase(itr);
336 void FilterTargets(std::list<WorldObject*>& targets)
347 for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end();)
352 float angle = varos->
GetAngle((*itr)->GetPositionX(), (*itr)->GetPositionY());
353 float diff = fabs(orientation - angle);
356 itr = targets.erase(itr);
@ TARGET_UNIT_SRC_AREA_ENTRY
@ TARGET_UNIT_SRC_AREA_ENEMY
@ AURA_EFFECT_HANDLE_REAL
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
@ UNIT_FLAG_IMMUNE_TO_NPC
@ SPELL_CALL_AZURE_RING_CAPTAIN
@ SPELL_CALL_AMPLIFY_MAGIC
@ SPELL_ARCANE_BEAM_PERIODIC
@ SPELL_SUMMON_ARCANE_BEAM
@ SPELL_ENERGIZE_CORES_VISUAL
@ EVENT_ENERGIZE_CORES_VISUAL
HookList< EffectApplyHandler > OnEffectRemove
HookList< EffectApplyHandler > OnEffectApply
InstanceScript *const instance
BossAI(Creature *creature, uint32 bossId)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
static Creature * GetCreature(WorldObject const &u, uint64 guid)
static Unit * GetUnit(WorldObject const &, uint64 guid)
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
SpellScriptLoader(const char *name)
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
void DoCastVictim(uint32 spellId, bool triggered=false)
InstanceScript * GetInstanceScript()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
void OnApply(AuraEffect const *, AuraEffectHandleModes)
PrepareAuraScript(spell_varos_centrifuge_shield_AuraScript)
spell_varos_centrifuge_shield()
AuraScript * GetAuraScript() const OVERRIDE
PrepareSpellScript(spell_varos_energize_core_area_enemySpellScript) void FilterTargets(std
spell_varos_energize_core_area_enemy()
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_varos_energize_core_area_entrySpellScript) void FilterTargets(std
spell_varos_energize_core_area_entry()
SpellScript * GetSpellScript() const OVERRIDE
@ ACTION_CALL_DRAGON_EVENT
@ SPELL_CENTRIFUGE_SHIELD
float GetAngle(Position const *pos) const
static float NormalizeOrientation(float o)
void GetPosition(float &x, float &y) const
ScriptedAI(Creature *creature)
boss_varosAI(Creature *creature)
void EnterCombat(Unit *) OVERRIDE
void JustDied(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
float GetCoreEnergizeOrientation()
float coreEnergizeOrientation
void SpellHitTarget(Unit *target, SpellInfo const *spell) OVERRIDE
void UpdateAI(uint32) OVERRIDE
== Triggered Actions Requested ==================
void MovementInform(uint32 type, uint32 id) OVERRIDE
void DoAction(int32 action) OVERRIDE
InstanceScript * instance
npc_azure_ring_captainAI(Creature *creature)