55#define SKELETONSPAWN_Z 42.8668f
59 {156.2559f, 259.2093f},
126 std::list<Creature*> guards;
131 for (std::list<Creature*>::iterator itr = guards.begin(); itr != guards.end(); ++itr)
133 if ((*itr)->IsAlive() && (*itr)->IsWithinLOSInMap(
me))
134 (*itr)->AI()->AttackStart(who);
204 for (
uint8 i = 0; i < 4; ++i)
235 if (damage >=
me->GetHealth())
250 me->GetMotionMaster()->MovementExpired(
false);
251 me->GetMotionMaster()->MoveIdle();
287 me->GetMotionMaster()->MoveChase(
me->GetVictim());
322 if (caster->IsAlive())
324 creature->DespawnOrUnsummon(1000);
346 return target && target->IsAIEnabled && target->GetAI()->GetData(
DATA_ON_THE_ROCKS);
@ AURA_EFFECT_HANDLE_REAL
#define AuraEffectRemoveFn(F, I, N, M)
@ UNIT_FLAG_NOT_SELECTABLE
@ SPELL_FROST_TOMB_SUMMON
float const SkeletonSpawnPoint[1][2]
void AddSC_boss_keleseth()
AchievementCriteriaScript(const char *name)
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
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)
SpellScriptLoader(const char *name)
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
void DoCastVictim(uint32 spellId, bool triggered=false)
void DoCastAOE(uint32 spellId, bool triggered=false)
InstanceScript * GetInstanceScript()
bool OnCheck(Player *, Unit *target) OVERRIDE
achievement_on_the_rocks()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
PrepareAuraScript(spell_frost_tomb_AuraScript)
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
AuraScript * GetAuraScript() const OVERRIDE
ScriptedAI(Creature *creature)
void SetData(uint32 data, uint32 value) OVERRIDE
uint32 GetData(uint32 data) const OVERRIDE
void EnterCombat(Unit *who) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
boss_kelesethAI(Creature *creature)
void JustDied(Unit *) OVERRIDE
npc_frost_tombAI(Creature *creature)
void IsSummonedBy(Unit *summoner) OVERRIDE
void UpdateAI(uint32) OVERRIDE
== Triggered Actions Requested ==================
InstanceScript * _instance
void JustDied(Unit *) OVERRIDE
npc_vrykul_skeletonAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void DamageTaken(Unit *, uint32 &damage) OVERRIDE
AI * GetUtgardeKeepAI(Creature *creature)