87#define SPELL_POWER_FEEDBACK DUNGEON_MODE<uint32>(44233, 47109)
88#define SPELL_GRAVITY_LAPSE_DAMAGE DUNGEON_MODE<uint32>(49887, 44226)
225 switch (spellInfo->
Id)
233 target->
CastSpell(target, gravityLapseDamageSpell);
348 for (
uint8 i = 0; i < 3; i++)
420 kaelthas->AI()->JustSummoned(egg);
458 egg->DespawnOrUnsummon();
#define RegisterSpellScript(spell_script)
@ EMOTE_ONESHOT_LAUGH_NO_SHEATHE
@ AURA_EFFECT_HANDLE_REAL
#define AuraEffectRemoveFn(F, I, N, M)
#define SPELL_POWER_FEEDBACK
@ 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
uint32 gravityLapseTeleportSpells[]
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)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
bool _EnterEvadeMode(EvadeReason why=EvadeReason::Other)
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)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
bool IsInPhase(uint8 phase) const
void SetPhase(uint8 phase)
void RescheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
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, Optional< Milliseconds > duration={}, MovementSlot slot=MOTION_SLOT_ACTIVE)
static Unit * ToUnit(Object *o)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
void DespawnEntry(uint32 entry)
void Summon(Creature const *summon)
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 SetUninteractible(bool apply)
void SetEmoteState(Emote emote)
bool HasUnitState(const uint32 f) const
void HandleEmoteCommand(Emote emoteId, Player *target=nullptr, Trinity::IteratorPair< int32 const * > spellVisualKitIds={}, int32 sequenceVariation=0)
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
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)
constexpr 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