286 if (
me->
IsWithinDist3d(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 5.0f))
289 me->
SetPosition(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 0.0f);
303 for (
uint8 i = 0; i < 2; ++i)
bool AttackStop()
Definition: Unit.cpp:7337
Definition: boss_alar.cpp:64
Definition: boss_alar.cpp:37
void MoveIdle()
Definition: MotionMaster.cpp:185
Definition: boss_alar.cpp:62
Definition: boss_alar.cpp:38
uint32 getFaction() const
Definition: Unit.h:1466
Definition: boss_alar.cpp:70
static Vector3int16 floor(const Vector3 &v)
uint32 Berserk_Timer
Definition: boss_alar.cpp:117
Definition: boss_alar.cpp:41
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:168
void DoZoneInCombat(Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
Definition: CreatureAI.cpp:47
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
Definition: boss_alar.cpp:71
bool IsInCombat() const
Definition: Unit.h:1584
bool Phase1
Definition: boss_alar.cpp:121
ThreatContainer::StorageType const & getThreatList() const
Definition: ThreatManager.h:263
void SetUInt32Value(uint16 index, uint32 value)
Definition: Object.cpp:996
void ApplySpellImmune(uint32 spellId, uint32 op, uint32 type, bool apply)
Definition: Unit.cpp:9615
Definition: boss_alar.cpp:67
Definition: Creature.h:467
uint32 Charge_Timer
Definition: boss_alar.cpp:115
int8 cur_wp
Definition: boss_alar.cpp:125
void SetFlag(uint16 index, uint32 newFlag)
Definition: Object.cpp:1199
void SetObjectScale(float scale) override
Definition: Creature.cpp:2653
WaitEventType WaitEvent
Definition: boss_alar.cpp:107
void SetPosition(float x, float y, float z, float o)
Definition: Creature.cpp:2537
uint8 getLevel() const
Definition: Unit.h:1408
Definition: boss_alar.cpp:46
void setFaction(uint32 faction)
Definition: Unit.h:1467
Definition: boss_alar.cpp:35
Creature *const me
Definition: CreatureAI.h:71
Definition: UpdateFields.h:115
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
Definition: MotionMaster.h:172
Definition: boss_alar.cpp:65
Definition: boss_alar.cpp:66
void SetLevel(uint8 lvl)
Definition: Unit.cpp:11523
Definition: boss_alar.cpp:63
float GetPositionY() const
Definition: Position.h:105
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
uint32 Platforms_Move_Timer
Definition: boss_alar.cpp:112
uint32 WaitTimer
Definition: boss_alar.cpp:108
Definition: boss_alar.cpp:43
Definition: SharedDefines.h:290
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
float GetPositionZ() const
Definition: Position.h:106
Definition: boss_alar.cpp:40
uint32 MeltArmor_Timer
Definition: boss_alar.cpp:114
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
Creature * DoSpawnCreature(uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, uint32 despawntime)
Definition: ScriptedCreature.cpp:177
bool IsWithinDist3d(float x, float y, float z, float dist) const
Definition: Object.cpp:1638
bool AfterMoving
Definition: boss_alar.cpp:110
Definition: boss_alar.cpp:36
Definition: boss_alar.cpp:69
Definition: boss_alar.cpp:39
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3586
uint32 FlamePatch_Timer
Definition: boss_alar.cpp:116
uint32 GetNativeDisplayId() const
Definition: Unit.h:2014
void SetDisplayId(uint32 modelId) override
Definition: Creature.cpp:2664
uint32 DiveBomb_Timer
Definition: boss_alar.cpp:113
Definition: UpdateFields.h:109
ThreatManager & getThreatManager()
Definition: Unit.h:1998
void SetFloatValue(uint16 index, float value)
Definition: Object.cpp:1067
uint32 rand32()
Definition: Random.cpp:64
Definition: UpdateFields.h:124
Definition: boss_alar.cpp:34
uint8_t uint8
Definition: Define.h:152
uint32 ForceTimer
Definition: boss_alar.cpp:123
void SetSpeed(UnitMoveType mtype, float rate, bool forced=false)
Definition: Unit.cpp:10531
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
void SetFullHealth()
Definition: Unit.h:1440
uint32_t uint32
Definition: g3dmath.h:168
float GetPositionX() const
Definition: Position.h:104
Definition: SharedDefines.h:1862
bool ForceMove
Definition: boss_alar.cpp:122
void StopMoving()
-------—End of Pet responses methods-------—
Definition: Unit.cpp:12743
void DoMeleeAttackIfReady()
Definition: boss_alar.cpp:423
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
Definition: boss_alar.cpp:47
float GetObjectScale() const
Definition: Object.h:110
float DefaultMoveSpeedRate
Definition: boss_alar.cpp:119
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition: Object.cpp:2346
Definition: boss_alar.cpp:72
static float waypoint[6][3]
Definition: boss_alar.cpp:50