72 {148.744659f, 181.377426f},
73 {140.823883f, 195.403046f},
74 {156.574188f, 195.650482f},
77#define LOCATION_Z -16.727455f
160 if (damage >
me->GetHealth())
190 ThreatContainer::StorageType::const_iterator i = threatlist.begin();
191 for (i = threatlist.begin(); i != threatlist.end(); ++i)
196 float threat =
me->getThreatManager().getThreat(unit);
208 ThreatContainer::StorageType::const_iterator i = threatlist.begin();
209 for (i = threatlist.begin(); i != threatlist.end(); ++i)
221 ThreatContainer::StorageType::const_iterator i = threatlist.begin();
222 for (i = threatlist.begin(); i != threatlist.end(); ++i)
234 ThreatContainer::StorageType::const_iterator i = threatlist.begin();
235 for (i = threatlist.begin(); i != threatlist.end(); ++i)
254 ThreatContainer::StorageType::const_iterator i = threatlist.begin();
255 for (i = threatlist.begin(); i != threatlist.end(); ++i)
304 uint8 random = std::rand() % 2 + 1;
338 me->GetMotionMaster()->Clear();
339 me->GetMotionMaster()->MoveIdle();
389 for (
uint8 i = 0; i < 3; ++i)
407 me->InterruptNonMeleeSpells(
false);
491 me->SetDisableGravity(
true);
503 if (damage < me->GetHealth())
519 me->InterruptNonMeleeSpells(
false);
522 me->ClearComboPointHolders();
523 me->RemoveAllAurasOnDeath();
527 me->ClearAllReactives();
529 me->GetMotionMaster()->Clear();
530 me->GetMotionMaster()->MoveIdle();
556 me->DisappearAndDie();
568 uint16 dmg = std::rand() % 2050 + 1650;
637 me->SetDisableGravity(
true);
659 me->AddThreat(target, 1.0f);
660 me->TauntApply(target);
@ TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN
@ SPELL_EFFECT_INTERRUPT_CAST
@ AURA_STATE_HEALTHLESS_35_PERCENT
@ AURA_STATE_HEALTHLESS_20_PERCENT
@ CURRENT_CHANNELED_SPELL
@ UNIT_FLAG_NON_ATTACKABLE
@ UNIT_FLAG_NOT_SELECTABLE
@ SPELL_GRAVITY_LAPSE_DOT
@ SPELL_GRAVITY_LAPSE_CHANNEL
@ SPELL_GRAVITY_LAPSE_FLY
@ SPELL_ARCANE_SPHERE_PASSIVE
@ SPELL_FLAMESTRIKE1_HEROIC
@ SPELL_FLAMESTRIKE1_NORMAL
@ SPELL_GRAVITY_LAPSE_INITIAL
float KaelLocations[3][2]
void AddSC_boss_felblood_kaelthas()
virtual void MoveInLineOfSight(Unit *)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
static GameObject * GetGameObject(WorldObject const &u, uint64 guid)
void RemoveFlag(uint16 index, uint32 oldFlag)
const ByteBuffer & GetPackGUID() const
std::list< HostileReference * > StorageType
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)
virtual void AttackStart(Unit *)
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void RemoveAurasDueToSpell(uint32 spellId, uint64 casterGUID=0, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void AddThreat(Unit *victim, float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=NULL)
static Unit * GetUnit(WorldObject &object, uint64 guid)
void SetSpeed(UnitMoveType mtype, float rate, bool forced=false)
InstanceScript * GetInstanceScript()
virtual void SendMessageToSet(WorldPacket *data, bool self)
CreatureAI * GetAI(Creature *c) const OVERRIDE
CreatureAI * GetAI(Creature *c) const OVERRIDE
CreatureAI * GetAI(Creature *c) const OVERRIDE
npc_felkael_flamestrike()
CreatureAI * GetAI(Creature *c) const OVERRIDE
npc_felkael_phoenix_egg()
CreatureAI * GetAI(Creature *c) const OVERRIDE
@ SMSG_MOVE_UNSET_CAN_FLY
bool HealthBelowPct(uint32 pct) const
Creature * DoSpawnCreature(uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, TempSummonType type, uint32 despawntime)
ScriptedAI(Creature *creature)
void AttackStart(Unit *) OVERRIDE
void MoveInLineOfSight(Unit *who) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void JustDied(Unit *) OVERRIDE
void CastGravityLapseKnockUp()
InstanceScript * instance
boss_felblood_kaelthasAI(Creature *creature)
void SetThreatList(Creature *summonedUnit)
void RemoveGravityLapse()
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void CastGravityLapseFly()
void TeleportPlayersToSelf()
void DamageTaken(Unit *, uint32 &damage) OVERRIDE
npc_arcane_sphereAI(Creature *creature)
void EnterCombat(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void MoveInLineOfSight(Unit *) OVERRIDE
npc_felkael_flamestrikeAI(Creature *creature)
InstanceScript * instance
void DamageTaken(Unit *, uint32 &damage) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_felkael_phoenixAI(Creature *creature)
void JustDied(Unit *) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
npc_felkael_phoenix_eggAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *) OVERRIDE
void MoveInLineOfSight(Unit *) OVERRIDE