505 float destX, destY, destZ;
506 destX = float(
rand_norm()) * 75.0f + 4350.0f;
507 destY = float(
rand_norm()) * 75.0f + 2450.0f;
bool AttackStop()
Definition: Unit.cpp:7337
Definition: boss_sindragosa.cpp:30
Definition: boss_sindragosa.cpp:98
Definition: boss_sindragosa.cpp:145
Definition: boss_sindragosa.cpp:109
Definition: boss_sindragosa.cpp:49
Definition: boss_sindragosa.cpp:95
Definition: boss_sindragosa.cpp:57
Definition: boss_sindragosa.cpp:39
bool UpdateVictim()
Definition: CreatureAI.cpp:233
void CancelEventGroup(uint32 group)
Definition: EventMap.cpp:103
bool _isInAirPhase
Definition: boss_sindragosa.cpp:551
bool _isThirdPhase
Definition: boss_sindragosa.cpp:552
Position const SindragosaLandPos
Definition: boss_sindragosa.cpp:161
Definition: boss_sindragosa.cpp:144
Definition: boss_sindragosa.cpp:51
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
Definition: boss_sindragosa.cpp:105
void CancelEvent(uint32 eventId)
Definition: EventMap.cpp:89
Will ignore most target checks (mostly DBC target checks)
Definition: Unit.h:479
bool SetDisableGravity(bool disable, bool packetOnly=false)
Definition: Unit.cpp:15818
Definition: boss_sindragosa.cpp:110
Position const SindragosaFlyInPos
Definition: boss_sindragosa.cpp:164
Definition: boss_sindragosa.cpp:127
Definition: boss_sindragosa.cpp:102
Definition: boss_sindragosa.cpp:29
Definition: boss_sindragosa.cpp:34
void SetByteFlag(uint16 index, uint8 offset, uint8 newFlag)
Definition: Object.cpp:1252
Definition: boss_sindragosa.cpp:199
Creature *const me
Definition: CreatureAI.h:71
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
Definition: MotionMaster.h:172
Definition: boss_sindragosa.cpp:107
Definition: boss_sindragosa.cpp:146
Definition: boss_sindragosa.cpp:100
void Relocate(float x, float y)
Definition: Position.h:67
Definition: boss_sindragosa.cpp:37
Position const SindragosaAirPos
Definition: boss_sindragosa.cpp:162
Definition: boss_sindragosa.cpp:99
Definition: boss_sindragosa.cpp:104
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
bool SetCanFly(bool enable)
Definition: Unit.cpp:15899
uint32_t uint32
Definition: Define.h:150
Definition: boss_sindragosa.cpp:52
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
float m_positionZ
Definition: Position.h:54
#define SPELL_BERSERK
Definition: boss_four_horsemen.cpp:74
void ScheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:123
Definition: boss_sindragosa.cpp:108
Position const SindragosaAirPosFar
Definition: boss_sindragosa.cpp:163
void Update(uint32 time)
Definition: EventMap.h:54
void MoveLand(uint32 id, Position const &pos)
Definition: MotionMaster.cpp:299
Definition: boss_sindragosa.cpp:59
void RescheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:146
Definition: boss_sindragosa.cpp:147
double rand_norm()
Definition: Random.cpp:69
Definition: boss_sindragosa.cpp:55
Definition: boss_sindragosa.cpp:97
uint32 ExecuteEvent()
Definition: EventMap.cpp:46
Definition: boss_sindragosa.cpp:106
Definition: UpdateFields.h:124
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
Definition: boss_sindragosa.cpp:96
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1395
Definition: boss_sindragosa.cpp:53
Definition: Position.h:27
Definition: boss_sindragosa.cpp:28
Definition: boss_sindragosa.cpp:64
EventMap events
Definition: ScriptedCreature.h:371
Definition: boss_sindragosa.cpp:68
Definition: boss_sindragosa.cpp:33
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
Definition: boss_sindragosa.cpp:32
Definition: boss_sindragosa.cpp:50
void MoveTakeoff(uint32 id, Position const &pos)
Definition: MotionMaster.cpp:313
void SetReactState(ReactStates st)
Definition: Creature.h:502
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_sindragosa.cpp:103
Definition: boss_sindragosa.cpp:101
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
Definition: boss_sindragosa.cpp:143
void UpdateGroundPositionZ(float x, float y, float &z) const
Definition: Object.cpp:1827