306 jaraxxus->AI()->JustSummoned(
me);
345 jaraxxus->AI()->JustSummoned(
me);
407 jaraxxus->AI()->JustSummoned(
me);
519 targets.push_back(target);
std::chrono::seconds Seconds
Seconds shorthand typedef.
@ SPLINE_CHAIN_MOTION_TYPE
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ TARGET_UNIT_SRC_AREA_ENEMY
@ SPELL_AURA_PERIODIC_DUMMY
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
@ UNIT_FLAG_UNINTERACTIBLE
@ SPLINE_INITIAL_MOVEMENT
@ EMOTE_INFERNAL_ERUPTION
@ SPELL_INFERNAL_ERUPTION
@ SPELL_LEGION_FLAME_EFFECT
@ SPELL_INFERNAL_ERUPTION_EFFECT
@ SPELL_NETHER_PORTAL_EFFECT
@ SPELL_MISTRESS_KISS_DAMAGE_SILENCE
@ SPELL_FEL_LIGHTNING_INTRO
@ SPELL_FEL_STREAK_VISUAL
@ SPELL_LORD_JARAXXUS_HITTIN_YA
void AddSC_boss_jaraxxus()
@ EVENT_CHANGE_ORIENTATION
@ EVENT_SUMMON_NETHER_PORTAL
@ EVENT_SUMMON_INFERNAL_ERUPTION
HookList< EffectPeriodicHandler > OnEffectPeriodic
SpellInfo const * GetSpellInfo() const
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
bool _EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
void DoZoneInCombat(Creature *creature=nullptr)
void SetCombatPulseDelay(uint32 delay)
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 SetPhase(PhaseIndex phase)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
virtual bool SetBossState(uint32 id, EncounterState state)
Creature * GetCreature(uint32 type)
EncounterState GetBossState(uint32 id) const
void MoveAlongSplineChain(uint32 pointId, uint16 dbChainId, bool walk)
static Player * ToPlayer(Object *o)
SpellEffectInfo const & GetEffect(SpellEffIndex index) const
Unit * GetHitUnit() const
int32 GetEffectValue() const
HookList< EffectHandler > OnEffectHitTarget
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
TaskContext & Repeat(std::chrono::duration< _Rep, _Period > const &duration)
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
TaskScheduler & Update(success_t const &callback=EmptyCallback)
TaskScheduler & SetValidator(P &&predicate)
Sets a validator which is asked if tasks are allowed to be executed.
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 DoCast(uint32 spellId)
MotionMaster * GetMotionMaster()
Powers GetPowerType() const
void SetFacingToObject(WorldObject const *object, bool force=true, uint32 movementId=EVENT_FACE)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
void SetFacingTo(float ori, bool force=true, uint32 movementId=EVENT_FACE)
void RemoveUnitFlag(UnitFlags flags)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
virtual void SetData(uint32, uint32)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
PrepareSpellScript(spell_fel_streak_visual)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *spellInfo) override
bool Validate(SpellInfo const *spellInfo) override
void FilterTargets(std::list< WorldObject * > &targets)
PrepareSpellScript(spell_mistress_kiss_area)
void HandleScript(SpellEffIndex)
PrepareAuraScript(spell_mistress_kiss)
bool Validate(SpellInfo const *) override
void HandleDummyTick(AuraEffect const *)
auto SelectRandomContainerElement(C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type &
void SetCombatMovement(bool allowMovement)
T const & RAID_MODE(T const &normal10, T const &normal25) const
void UpdateAI(uint32 diff) override
void EnterEvadeMode(EvadeReason) override
void JustEngagedWith(Unit *who) override
boss_jaraxxus(Creature *creature)
void JustDied(Unit *) override
void DoAction(int32 action) override
void KilledUnit(Unit *who) override
void MovementInform(uint32 type, uint32 pointId) override
void UpdateAI(uint32 diff) override
InstanceScript * _instance
npc_fel_infernal(Creature *creature)
npc_infernal_volcano(Creature *creature)
npc_legion_flame(Creature *creature)
InstanceScript * _instance
npc_mistress_of_pain(Creature *creature)
void JustEngagedWith(Unit *) override
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
InstanceScript * _instance
npc_nether_portal(Creature *creature)
@ DATA_MISTRESS_OF_PAIN_COUNT
#define RegisterTrialOfTheCrusaderCreatureAI(ai_name)