145 Madrigosa->Respawn();
146 Madrigosa->setActive(
true);
147 Madrigosa->SetFarVisible(
true);
153 Madrigosa->Attack(
me,
true);
#define TC_LOG_ERROR(filterType__,...)
uint32 urand(uint32 min, uint32 max)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_AURA_PERIODIC_DAMAGE
#define SpellEffectFn(F, I, N)
#define AuraEffectUpdatePeriodicFn(F, I, N)
@ UNIT_FLAG_NON_ATTACKABLE
@ YELL_INTRO_KILL_MADRIGOSA
@ SPELL_INTRO_FROST_BLAST
@ SPELL_INTRO_ENCAPSULATE_CHANELLING
@ SPELL_INTRO_ENCAPSULATE
void AddSC_boss_brutallus()
uint32 GetTickNumber() const
void SetAmount(int32 amount)
HookList< EffectUpdatePeriodicHandler > OnEffectUpdatePeriodic
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
virtual void MoveInLineOfSight(Unit *)
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void setDeathState(DeathState s) override
virtual bool SetBossState(uint32 id, EncounterState state)
Creature * GetCreature(uint32 type)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
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 SetFacingToObject(WorldObject const *object, bool force=true)
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
uint64 GetMaxHealth() const
bool Attack(Unit *victim, bool meleeAttack)
void SetUnitFlag(UnitFlags flags)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
static void Kill(Unit *attacker, Unit *victim, bool durabilityLoss=true, bool skipSettingDeathState=false)
void RemoveUnitFlag(UnitFlags flags)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
bool IsValidAttackTarget(WorldObject const *target, SpellInfo const *bySpell=nullptr) const
void HandleEffectPeriodicUpdate(AuraEffect *aurEff)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
constexpr void SetOrientation(float orientation)
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
void JustEngagedWith(Unit *who) override
void AttackStart(Unit *who) override
== Triggered Actions Requested ==================
uint32 IntroFrostBoltTimer
void EnterEvadeMode(EvadeReason why) override
void JustDied(Unit *killer) override
boss_brutallus(Creature *creature)
void MoveInLineOfSight(Unit *who) override
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *) override
#define RegisterSunwellPlateauCreatureAI(ai_name)