259 checkPlayer.Repeat(
Seconds(1));
263 teron->AI()->JustSummoned(
me);
330 for (
uint8 i = 0; i < 4; ++i)
std::chrono::seconds Seconds
Seconds shorthand typedef.
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
#define RegisterSpellScript(spell_script)
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_OVERRIDE_CLASS_SCRIPTS
#define AuraEffectAbsorbFn(F, I)
#define AuraEffectRemoveFn(F, I, N, M)
#define RegisterBlackTempleCreatureAI(ai_name)
@ SPELL_SUMMON_BLOSSOM_MOVE_TARGET
@ SPELL_SUMMON_DOOM_BLOSSOM
@ SPELL_SUMMON_SKELETRON_1
@ SPELL_SUMMON_SKELETRON_3
@ SPELL_POSSESS_SPIRIT_IMMUNE
@ SPELL_SUMMON_SKELETRON_2
@ SPELL_SHADOW_OF_DEATH_REMOVE
@ SPELL_SPIRITUAL_VENGEANCE
@ SPELL_SUMMON_SKELETRON_4
uint32 const SkeletronSpells[4]
void AddSC_boss_teron_gorefiend()
@ EVENT_SUMMON_DOOM_BLOSSOM
void PreventDefaultAction()
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectAbsorbHandler > OnEffectAbsorb
void JustEngagedWith(Unit *who) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
bool CanCreatureAttack(Unit const *victim, bool force=true) const
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
Creature * GetCreature(uint32 type)
EncounterState GetBossState(uint32 id) const
void MoveTakeoff(uint32 id, Position const &pos, Optional< int32 > tierTransitionId={}, Optional< float > velocity={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default)
static ObjectGuid GetGUID(Object const *o)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
HookList< HitHandler > OnHit
Unit * GetHitUnit() const
TaskContext & Repeat(std::chrono::duration< Rep, Period > duration)
TaskScheduler & CancelAll()
TaskScheduler & Schedule(std::chrono::duration< Rep, Period > time, task_handler_t task)
TaskScheduler & Update(success_t const &callback=nullptr)
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 DoCast(uint32 spellId)
MotionMaster * GetMotionMaster()
bool HasUnitState(const uint32 f) const
void KillSelf(bool durabilityLoss=true, bool skipSettingDeathState=false)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
InstanceScript * GetInstanceScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
bool TryHandleOnce(Player *player, AreaTriggerEntry const *) override
at_teron_gorefiend_entrance()
bool Validate(SpellInfo const *) override
void Absorb(AuraEffect *, DamageInfo &, uint32 &)
bool Validate(SpellInfo const *) override
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
constexpr void Relocate(float x, float y)
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
void ResetThreatList(Unit *who=nullptr)
void AddThreat(Unit *victim, float amount, Unit *who=nullptr)
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void DoAction(int32 action) override
void EnterEvadeMode(EvadeReason) override
void KilledUnit(Unit *victim) override
boss_teron_gorefiend(Creature *creature)
void JustEngagedWith(Unit *who) override
npc_doom_blossom(Creature *creature)
void UpdateAI(uint32 diff) override
InstanceScript * _instance
npc_shadowy_construct(Creature *creature)
InstanceScript * _instance
void UpdateAI(uint32 diff) override