271 stalker->m_Events.AddEventAtOffset([stalker]() { stalker->CastSpell(
nullptr,
SPELL_CHARGE_UP_DUMMY); }, 4s);
359 if (bjarngrim->GetHealthPct() <= 75.f)
#define RegisterSpellScript(spell_script)
#define RegisterSpellScriptWithArgs(spell_script, script_name,...)
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
@ EVENT_GROUP_BERSERKER_STANCE
@ EVENT_GROUP_DEFENSIVE_STANCE
@ EVENT_GROUP_BATTLE_STANCE
static std::array< uint8, 2 > const ChargeUpWaypointIds
static constexpr uint32 SPAWN_GROUP_ID_STORMFORGED_LIEUTENANTS
@ SPELL_TEMPOARY_ELECTRICAL_CHARGE
static std::array< StanceInfo, MAX_STANCE > const StanceData
void AddSC_boss_general_bjarngrim()
@ SAY_ANNOUNCE_BATTLE_STANCE
@ SAY_ANNOUNCE_BERSERKER_STANCE
@ SAY_ANNOUNCE_DEFENSIVE_STANCE
static std::array< uint8, 2 > const ClearTempoaryChargeWaypointIds
@ EVENT_CHECK_BJARNGRIMS_HEALTH
@ EVENT_CHECK_STANCE_COOLDOWN
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
HookList< EffectApplyHandler > AfterEffectApply
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void SetCanDualWield(bool value) override
void Repeat(Milliseconds time)
void CancelEventGroup(uint32 group)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
bool IsInPhase(uint8 phase) const
void SetPhase(uint8 phase)
Creature * GetCreature(uint32 type)
bool SpawnGroupSpawn(uint32 groupId, bool ignoreRespawn=false, bool force=false, std::vector< WorldObject * > *spawnedObjects=nullptr)
bool SpawnGroupDespawn(uint32 groupId, bool deleteRespawnTimes=false, size_t *count=nullptr)
static Creature * ToCreature(Object *o)
Duration GetRemainingCooldown(SpellInfo const *spellInfo) const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
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 DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void SetVirtualItem(uint32 slot, uint32 itemId, uint16 appearanceModId=0, uint16 itemVisual=0)
bool HasUnitState(const uint32 f) const
SpellHistory * GetSpellHistory()
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 Validate(SpellInfo const *) override
void HandlePeriodic(AuraEffect const *)
bool Validate(SpellInfo const *) override
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) override
spell_bjarngrim_stance_dummy(uint8 stanceId)
void AfterApply(AuraEffect const *, AuraEffectHandleModes)
#define RegisterHallsOfLightningCreatureAI(ai_name)
Difficulty GetDifficulty() const
StanceInfo(StanceTextInfo textInfo, uint32 stanceSpellId)
StanceTextInfo(uint32 announceTextId, uint32 sayTextId)
void EnterEvadeMode(EvadeReason) override
void MovementInform(uint32 motionType, uint32 pointId) override
void UpdateAI(uint32 diff) override
void JustAppeared() override
void KilledUnit(Unit *victim) override
void JustDied(Unit *killer) override
void DoAction(int32 action) override
boss_general_bjarngrim(Creature *creature)
void JustEngagedWith(Unit *who) override
npc_bjarngrim_stormforged_lieutenant(Creature *creature)
InstanceScript * _instance
void JustEngagedWith(Unit *) override
void UpdateAI(uint32 diff) override
void InitializeAI() override
void EnterEvadeMode(EvadeReason why) override