264 me->HandleEmoteCommand(EMOTE_ONESHOT_SHOUT);
267 me->HandleEmoteCommand(EMOTE_ONESHOT_ROAR);
270 me->HandleEmoteCommand(EMOTE_ONESHOT_BATTLE_ROAR);
bool roll_chance_i(int chance)
#define RegisterSpellScript(spell_script)
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define AuraEffectPeriodicFn(F, I, N)
@ UNIT_FLAG_UNINTERACTIBLE
#define RegisterBloodFurnaceCreatureAI(ai_name)
#define RegisterBloodFurnaceGameObjectAI(ai_name)
@ SPELL_DESPAWN_INCOMBAT_TRIGGER
@ SPELL_SUMMON_INCOMBAT_TRIGGER
void AddSC_boss_broggok()
uint32 GetTickNumber() const
SpellEffectInfo const & GetSpellEffectInfo() const
uint32 GetTotalTicks() const
void PreventDefaultAction()
HookList< EffectPeriodicHandler > OnEffectPeriodic
void JustEngagedWith(Unit *who) override
virtual void JustReachedHome()
void DoZoneInCombat(Creature *creature=nullptr)
void SetReactState(ReactStates st)
bool HasStringId(std::string_view id) const
void SetImmuneToNPC(bool apply) override
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void ActivateObject(GameObjectActions action, WorldObject *spellCaster=nullptr, uint32 spellId=0, int32 effectIndex=-1)
EncounterState GetBossState(uint32 id) const
void MovePath(uint32 pathId, bool repeatable)
SpellEffectInfo const & GetEffect(SpellEffIndex index) const
TaskContext & Repeat(std::chrono::duration< _Rep, _Period > const &duration)
TaskScheduler::repeated_t GetRepeatCounter() const
Returns the repeat counter which increases every time the task is repeated.
TaskScheduler & CancelAll()
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
TaskScheduler & Update(success_t const &callback=EmptyCallback)
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()
bool HasUnitState(const uint32 f) const
void SetUnitFlag(UnitFlags flags)
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)
bool Validate(SpellInfo const *spellInfo) override
PrepareAuraScript(spell_broggok_poison_cloud)
void OnPeriodic(AuraEffect const *aurEff)
virtual void ScheduleEvents()=0
void JustAppeared() override
void UpdateAI(uint32 diff) override
bool IsHighCellPrisoner()
void JustEngagedWith(Unit *) override
BroggokPrisionerBaseAI(Creature *creature)
void JustReachedHome() override
void DoAction(int32 action) override
InstanceScript * Instance
void WaypointPathEnded(uint32, uint32) override
void JustAppeared() override
void UpdateOutOfCombatEvents(uint32 diff)
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void JustSummoned(Creature *) override
boss_broggok(Creature *creature)
void DoAction(int32 action) override
InstanceScript * _instance
go_broggok_lever(GameObject *go)
bool OnGossipHello(Player *) override
void ScheduleEvents() override
void ScheduleEvents() override