90#define SPELL_GRAVITY_LAPSE_DAMAGE RAID_MODE<uint32>(49887, 44226)
228 switch (spellInfo->
Id)
236 target->
CastSpell(target, gravityLapseDamageSpell);
351 for (
uint8 i = 0; i < 3; i++)
424 kaelthas->AI()->JustSummoned(egg);
462 egg->DespawnOrUnsummon();
#define RegisterSpellScript(spell_script)
@ EMOTE_ONESHOT_LAUGH_NO_SHEATHE
@ AURA_EFFECT_HANDLE_REAL
#define AuraEffectRemoveFn(F, I, N, M)
@ UNIT_FLAG_UNINTERACTIBLE
uint32 gravityLapseTeleportSpells[]
@ SPELL_FLAME_STRIKE_DAMAGE
@ SPELL_EMOTE_TALK_EXCLAMATION
@ SPELL_GRAVITY_LAPSE_FRONT_RIGHT_TELEPORT
@ SPELL_GRAVITY_LAPSE_FLY
@ SPELL_SUMMON_ARCANE_SPHERE
@ SPELL_GRAVITY_LAPSE_BEAM_VISUAL_PERIODIC
@ SPELL_GRAVITY_LAPSE_FRONT_TELEPORT
@ SPELL_GRAVITY_LAPSE_RIGHT_TELEPORT
@ SPELL_GRAVITY_LAPSE_FRONT_LEFT_TELEPORT
@ SPELL_GRAVITY_LAPSE_LEFT_TELEPORT
@ SPELL_GRAVITY_LAPSE_INITIAL
@ SPELL_SUMMON_PHOENIX_EGG
@ SPELL_GRAVITY_LAPSE_CENTER_TELEPORT
@ SPELL_FLAME_STRIKE_DUMMY
void AddSC_boss_felblood_kaelthas()
#define SPELL_GRAVITY_LAPSE_DAMAGE
@ EVENT_EMOTE_TALK_EXCLAMATION
@ EVENT_TALK_NEXT_GRAVITY_LAPSE
@ EVENT_PREPARE_GRAVITY_LAPSE
@ EVENT_GRAVITY_LAPSE_BEAM_VISUAL_PERIODIC
@ EVENT_SUMMON_ARCANE_SPHERE
@ EVENT_GRAVITY_LAPSE_CENTER_TELEPORT
HookList< EffectApplyHandler > AfterEffectRemove
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
bool _EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
void DoZoneInCombat(Creature *creature=nullptr)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Creature * DoSummon(uint32 entry, Position const &pos, Milliseconds despawnTime=30s, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
void SetImmuneToPC(bool apply) override
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void Repeat(Milliseconds time)
bool IsInPhase(PhaseIndex phase) const
void RescheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void SetPhase(PhaseIndex phase)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void AddEventAtOffset(BasicEvent *event, Milliseconds offset)
virtual bool SetBossState(uint32 id, EncounterState state)
Creature * GetCreature(uint32 type)
void MoveFollow(Unit *target, float dist, ChaseAngle angle, MovementSlot slot=MOTION_SLOT_ACTIVE)
static Unit * ToUnit(Object *o)
void DespawnEntry(uint32 entry)
void Summon(Creature const *summon)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
MotionMaster * GetMotionMaster()
void SetEmoteState(Emote emote)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
void HandleEmoteCommand(Emote emoteId)
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
void SetUnitFlag(UnitFlags flags)
void RemoveUnitFlag(UnitFlags flags)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
PrepareAuraScript(spell_felblood_kaelthas_flame_strike)
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) override
#define RegisterMagistersTerraceCreatureAI(ai_name)
@ DATA_KAELTHAS_SUNSTRIDER
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
void GetPosition(float &x, float &y) const
uint8 _gravityLapseTargetCount
void JustSummoned(Creature *summon) override
void JustEngagedWith(Unit *who) override
void SetData(uint32 type, uint32) override
void DamageTaken(Unit *attacker, uint32 &damage, DamageEffectType, SpellInfo const *) override
void UpdateAI(uint32 diff) override
void EnterEvadeMode(EvadeReason) override
boss_felblood_kaelthas(Creature *creature)
void SpellHitTarget(WorldObject *target, SpellInfo const *spellInfo) override
void JustDied(Unit *) override
void UpdateAI(uint32 diff) override
npc_felblood_kaelthas_phoenix(Creature *creature)
void IsSummonedBy(WorldObject *) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void SummonedCreatureDies(Creature *, Unit *) override
InstanceScript * _instance
void JustEngagedWith(Unit *) override