376 brutallus->SetDisableGravity(
true);
405 brutallus->SetFacingTo(1.383456826210021972f);
407 brutallus->SetImmuneToNPC(
true);
433 brutallus->SetDisableGravity(
false);
443 brutallus->SetDisableGravity(
true);
444 brutallus->SetHover(
true);
461 brutallus->GetMotionMaster()->MoveFall();
478 brutallus->SetDisableGravity(
false);
479 brutallus->SetHover(
false);
511 brutallus->SetFacingTo(0.069813169538974761f);
532 brutallus->SetImmuneToNPC(
false);
533 brutallus->SetHomePosition(brutallus->GetPosition());
536 brutallus->AI()->EnterEvadeMode();
677 iceBarrier->UseDoorOrButton();
708 iceBarrier->UseDoorOrButton();
First const & RAND(First const &first, Second const &second, Rest const &... rest)
@ TEMPSUMMON_MANUAL_DESPAWN
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_DAMAGE
#define SpellEffectFn(F, I, N)
#define AuraEffectUpdatePeriodicFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
Position const BrutallusMoveOffsetPos
Position const MadrigosaMoveLandPos2
Position const BrutallusMoveCombatPos
@ SPELL_CLEAR_ALL_DEBUFFS
@ SPELL_CLEAR_RETURN_STATE
@ SPELL_SUMMON_DEATH_CLOUD
@ SPELL_ARCANE_EXPLOSION_VISUAL
@ SPELL_SUMMON_FELBLAZE_PRE_VISUAL
@ SPELL_DUAL_WIELD_PASSIVE
@ SPELL_BREAK_ICE_KNOCK_BACK
@ SPELL_PERMANENT_FEIGN_DEATH
@ SAY_INTRO_KILL_MADRIGOSA
Position const MadrigosaSpawnPos
void AddSC_boss_brutallus()
Position const MadrigosaMoveLandPos1
Position const MadrigosaMoveLiftoffPos
@ POINT_MADRIGOSA_LIFTOFF
Position const MadrigosaMoveLandPos3
uint32 GetTickNumber() const
void SetAmount(int32 amount)
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectApplyHandler > AfterEffectApply
HookList< EffectUpdatePeriodicHandler > OnEffectUpdatePeriodic
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void SetHomePosition(float x, float y, float z, float o)
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void SetImmuneToNPC(bool apply) override
void Repeat(Milliseconds time)
void CancelEvent(EventId eventId)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
Creature * GetCreature(uint32 type)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={})
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
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)
void SetAnimTier(AnimTier animTier)
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
MotionMaster * GetMotionMaster()
bool SetHover(bool enable, bool updateAnimTier=true)
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
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 HandleEmoteCommand(Emote emoteId)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool TryHandleOnce(Player *player, AreaTriggerEntry const *) override
void AfterApply(AuraEffect const *, AuraEffectHandleModes)
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
PrepareAuraScript(spell_brutallus_break_ice)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_brutallus_burn_ally)
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_brutallus_burn_primer)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
void HandleEffectPeriodicUpdate(AuraEffect *aurEff)
PrepareAuraScript(spell_brutallus_burn)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_brutallus_freeze)
void HandleScript(SpellEffIndex)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_brutallus_stomp)
void GetPosition(float &x, float &y) const
void AttackStart(Unit *) override
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
boss_brutallus(Creature *creature)
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *) override
void OnSpellCast(SpellInfo const *spell) override
void JustAppeared() override
void UpdateAI(uint32 diff) override
void EnterEvadeMode(EvadeReason) override
@temporary: Find a better solution to end combat without breaking visuals (Feign Death)
InstanceScript * _instance
npc_madrigosa(Creature *creature)
void DoAction(int32 action) override
void MovementInform(uint32 type, uint32 id) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
#define RegisterSunwellPlateauCreatureAI(ai_name)