852 alexstraszaBunny->GetNearPoint2D(randomPosOnRadius.
m_positionX, randomPosOnRadius.
m_positionY, 120.0f, alexstraszaBunny->GetAngle(
me));
868 for (
uint8 meleeDisks = 0; meleeDisks < 2; meleeDisks++)
881 for (
uint8 rangeDisks = 5; rangeDisks < 8; rangeDisks++)
889 for (
uint8 meleeDisks = 2; meleeDisks < 4; meleeDisks++)
960 if (
Vehicle* drakeVehicle = tempSurgeTarget->GetVehicleKit())
962 if (
Unit* passenger = drakeVehicle->GetPassenger(0))
void DoAction(int32 action) override
Definition: boss_malygos.cpp:455
Definition: boss_malygos.cpp:57
bool AttackStop()
Definition: Unit.cpp:7337
Definition: boss_malygos.cpp:38
Definition: boss_malygos.cpp:199
Definition: eye_of_eternity.h:50
void DoCastAOE(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:167
Definition: boss_malygos.cpp:60
Definition: DBCEnums.h:407
Definition: boss_malygos.cpp:46
Position const MeleeHoverDisksWaypoints[MAX_MELEE_HOVER_DISK_WAYPOINTS]
Definition: boss_malygos.cpp:256
Definition: boss_malygos.cpp:117
bool UpdateVictim()
Definition: CreatureAI.cpp:233
Map * GetMap() const
Definition: Object.h:543
bool _canAttack
Definition: boss_malygos.cpp:1026
#define MAX_MELEE_HOVER_DISK_SPAWNPOINTS
Definition: boss_malygos.cpp:246
float m_positionY
Definition: Position.h:53
void SetPhase(uint8 phase, bool setEvents=false)
Definition: boss_malygos.cpp:527
Definition: boss_malygos.cpp:45
Definition: boss_malygos.cpp:163
uint8 _phase
Definition: boss_malygos.cpp:1018
Definition: boss_malygos.cpp:62
Definition: boss_malygos.cpp:312
Definition: boss_malygos.cpp:44
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
Definition: boss_malygos.cpp:162
bool _executingVortex
Definition: boss_malygos.cpp:1028
ObjectGuid _surgeTargetGUID[3]
Definition: boss_malygos.cpp:1023
Definition: boss_malygos.cpp:61
Definition: boss_malygos.cpp:40
float m_positionX
Definition: Position.h:52
Definition: boss_malygos.cpp:209
Definition: Creature.h:467
bool IsAIEnabled
Definition: Unit.h:2161
Definition: eye_of_eternity.h:51
Definition: boss_malygos.cpp:88
Definition: boss_malygos.cpp:66
Definition: boss_malygos.cpp:302
Definition: boss_malygos.cpp:55
Definition: boss_malygos.cpp:54
Difficulty GetDifficulty() const
Definition: ScriptedCreature.h:271
Definition: boss_malygos.cpp:51
Creature *const me
Definition: CreatureAI.h:71
Definition: boss_malygos.cpp:165
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
Definition: MotionMaster.h:172
Definition: boss_malygos.cpp:140
void SetFacingToObject(WorldObject const *object)
Definition: Unit.cpp:15787
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
Definition: boss_malygos.cpp:187
Definition: boss_malygos.cpp:69
Definition: boss_malygos.cpp:164
Definition: boss_malygos.cpp:118
Definition: eye_of_eternity.h:40
Definition: boss_malygos.cpp:158
Definition: boss_malygos.cpp:144
Definition: boss_malygos.cpp:201
Unit * GetVictim() const
Definition: Unit.h:1379
Definition: boss_malygos.cpp:142
Definition: boss_malygos.cpp:89
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
Definition: boss_malygos.cpp:50
CreatureAI * AI() const
Definition: Creature.h:525
Definition: boss_malygos.cpp:106
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
uint32_t uint32
Definition: Define.h:150
Definition: boss_malygos.cpp:43
ObjectGuid _arcaneOverloadGUID
Definition: boss_malygos.cpp:1021
bool _performingDestroyPlatform
Definition: boss_malygos.cpp:1033
Definition: eye_of_eternity.h:38
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
Definition: DBCEnums.h:408
Definition: GameObject.h:880
virtual void DoAction(int32)
Definition: UnitAI.h:138
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
float m_positionZ
Definition: Position.h:54
Definition: eye_of_eternity.h:29
bool _arcaneReinforcements
Definition: boss_malygos.cpp:1029
Definition: boss_malygos.cpp:105
uint8 _preparingPulsesChecker
Definition: boss_malygos.cpp:1020
Definition: boss_malygos.cpp:131
void ScheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:123
Definition: boss_malygos.cpp:56
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
void Update(uint32 time)
Definition: EventMap.h:54
Definition: boss_malygos.cpp:217
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
Definition: boss_malygos.cpp:87
Definition: boss_malygos.cpp:310
Definition: ObjectGuid.h:33
Definition: UpdateFields.h:109
Definition: boss_malygos.cpp:203
Position const RangeHoverDisksSpawnPositions[MAX_RANGE_HOVER_DISK_SPAWNPOINTS]
Definition: boss_malygos.cpp:234
bool _killSpamFilter
Definition: boss_malygos.cpp:1025
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
Definition: Unit.cpp:2916
uint32 ExecuteEvent()
Definition: EventMap.cpp:46
Position const MalygosPositions[MAX_MALYGOS_POS]
Definition: boss_malygos.cpp:281
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:143
bool _flyingOutOfPlatform
Definition: boss_malygos.cpp:1030
Definition: boss_malygos.cpp:141
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1395
uint8_t uint8
Definition: Define.h:152
Definition: Position.h:27
EventMap events
Definition: ScriptedCreature.h:371
bool _performingSurgeOfPower
Definition: boss_malygos.cpp:1032
Definition: boss_malygos.cpp:67
Definition: boss_malygos.cpp:145
Definition: boss_malygos.cpp:39
Definition: boss_malygos.cpp:65
Position const MeleeHoverDisksSpawnPositions[MAX_RANGE_HOVER_DISK_SPAWNPOINTS]
Definition: boss_malygos.cpp:247
void SetZoneOverrideLight(uint32 zoneId, uint32 lightId, uint32 fadeInTime)
Definition: Map.cpp:3943
Definition: boss_malygos.cpp:86
Definition: boss_malygos.cpp:53
Definition: boss_malygos.cpp:138
void StopMoving()
-------—End of Pet responses methods-------—
Definition: Unit.cpp:12743
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_malygos.cpp:95
void CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:920
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition: Object.cpp:2346
InstanceScript *const instance
Definition: ScriptedCreature.h:340
Definition: boss_malygos.cpp:185
Definition: boss_malygos.cpp:49
float GetHealthPct() const
Definition: Unit.h:1434
Definition: boss_malygos.cpp:139
Definition: boss_malygos.cpp:37