92 { 290.53226f, -125.35236f, 29.697079f, 0.0f },
93 { 295.05692f, -123.32802f, 29.659490f, 0.0f }
First const & RAND(First const &first, Second const &second, Rest const &... rest)
bool roll_chance_i(int chance)
#define RegisterSpellScript(spell_script)
#define SpellEffectFn(F, I, N)
void AddSC_boss_swamplord_muselek()
@ EVENT_COMBAT_SEQUENCE_1
@ EVENT_COMBAT_SEQUENCE_4
@ EVENT_COMBAT_SEQUENCE_3
@ EVENT_COMBAT_SEQUENCE_2
Position const OutroPos[2]
@ SPELL_FACE_HIGHEST_THREAT
void JustEngagedWith(Unit *who) override
virtual void JustReachedHome()
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
void SetReactState(ReactStates st)
bool UpdateEntry(uint32 entry, CreatureData const *data=nullptr, bool updateLevel=true)
void SetImmuneToAll(bool apply) override
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={})
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
HookList< EffectHandler > OnEffectHit
void AttackStartCaster(Unit *victim, float dist)
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 SetFaction(uint32 faction) override
MotionMaster * GetMotionMaster()
bool SetWalk(bool enable)
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 SetStandState(UnitStandStateType state)
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
Position GetRandomNearPosition(float radius)
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_swamplord_muselek_move_away_primer)
void JustDied(Unit *) override
void JustEngagedWith(Unit *who) override
void AttackStart(Unit *who) override
void UpdateAI(uint32 diff) override
void OnSpellCast(SpellInfo const *spell) override
boss_swamplord_muselek(Creature *creature)
void KilledUnit(Unit *) override
void MovementInform(uint32 type, uint32 pointId) override
void JustReachedHome() override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
bool OnGossipHello(Player *player) override
void MovementInform(uint32 type, uint32 pointId) override
void UpdateAI(uint32 diff) override
uint8 _currentChargeCount
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
void JustEngagedWith(Unit *) override
npc_claw(Creature *creature)
#define RegisterTheUnderbogCreatureAI(ai_name)