151 std::vector<Creature*> distillers;
153 for (
Creature* distiller : distillers)
154 if (distiller->IsAlive())
189 distiller->GetContactPoint(
me, x, y, z);
bool roll_chance_i(int chance)
void GetCreatureListWithEntryInGrid(Container &container, WorldObject *source, uint32 entry, float maxSearchRange)
@ UNIT_FLAG_UNINTERACTIBLE
void AddSC_boss_warlord_kalithresh()
@ ACTION_DISTILLER_CHANNEL
@ SPELL_WARLORDS_RAGE_DISTILLER
@ SPELL_DISTILLER_DUMMY_TRIGGER_2
@ SPELL_DISTILLER_DUMMY_TRIGGER_1
@ SPELL_SUMMON_DISTILLER_2
@ SPELL_DISTILLER_DUMMY_COMBAT
@ SPELL_DISTILLER_DUMMY_DESPAWN
@ SPELL_SUMMON_DISTILLER_1
@ SPELL_SUMMON_DISTILLER_3
void JustEngagedWith(Unit *who) override
virtual void MoveInLineOfSight(Unit *)
void SetReactState(ReactStates st)
void SetCorpseDelay(uint32 delay, bool ignoreCorpseDecayRatio=false)
void Repeat(Milliseconds time)
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={})
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()
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void SetUnitFlag(UnitFlags flags)
void RemoveUnitFlag(UnitFlags flags)
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
@ DATA_WARLORD_KALITHRESH
#define RegisterSteamVaultCreatureAI(ai_name)
void DoPlaySoundToSet(WorldObject *source, uint32 soundId)
void DoAction(int32 action) override
void JustDied(Unit *) override
ObjectGuid _distillerGUID
void MoveInLineOfSight(Unit *who) override
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *) override
void MovementInform(uint32 type, uint32 pointId) override
boss_warlord_kalithresh(Creature *creature)
void DoAction(int32 action) override
void JustDied(Unit *) override
InstanceScript * _instance
npc_naga_distiller(Creature *creature)