358 std::list<Player*> targets;
360 if (!targets.empty())
362 Unit* target = targets.front();
409 std::list<Player*> targets;
412 if (targets.size() > 1)
415 for (std::list<Player*>::iterator itr = targets.begin(); itr != targets.end(); ++itr)
432 std::list<Player*> targets;
434 Trinity::Containers::RandomResizeList<Player*>(targets,
uint32(
Is25ManRaid() ? 4 : 2));
435 for (std::list<Player*>::iterator itr = targets.begin(); itr != targets.end(); ++itr)
Definition: boss_blood_queen_lana_thel.cpp:77
Unit * EnsureVictim() const
Definition: Unit.h:1381
Definition: boss_blood_queen_lana_thel.cpp:107
Definition: boss_blood_queen_lana_thel.cpp:97
void DoCastAOE(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:167
Definition: boss_blood_queen_lana_thel.cpp:96
Definition: boss_blood_queen_lana_thel.cpp:119
bool UpdateVictim()
Definition: CreatureAI.cpp:233
void CancelEventGroup(uint32 group)
Definition: EventMap.cpp:103
Definition: boss_blood_queen_lana_thel.cpp:29
Definition: boss_blood_queen_lana_thel.cpp:62
Definition: boss_blood_queen_lana_thel.cpp:57
Definition: boss_blood_queen_lana_thel.cpp:121
Position const centerPos
Definition: boss_blood_queen_lana_thel.cpp:125
Definition: boss_blood_queen_lana_thel.cpp:105
Definition: boss_blood_queen_lana_thel.cpp:100
Definition: boss_blood_queen_lana_thel.cpp:78
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
Definition: boss_blood_queen_lana_thel.cpp:53
void RandomResizeList(std::list< T > &list, uint32 size)
Definition: Containers.h:34
bool HasByteFlag(uint16 index, uint8 offset, uint8 flag) const
Definition: Object.cpp:1298
Will ignore most target checks (mostly DBC target checks)
Definition: Unit.h:479
Definition: boss_blood_queen_lana_thel.cpp:38
bool SetDisableGravity(bool disable, bool packetOnly=false)
Definition: Unit.cpp:15818
void DoStopAttack()
Definition: ScriptedCreature.cpp:148
Definition: boss_blood_queen_lana_thel.cpp:34
Definition: boss_blood_queen_lana_thel.cpp:55
Definition: boss_blood_queen_lana_thel.cpp:103
Definition: boss_blood_queen_lana_thel.cpp:108
void SetByteFlag(uint16 index, uint8 offset, uint8 newFlag)
Definition: Object.cpp:1252
Definition: boss_blood_queen_lana_thel.cpp:99
Creature *const me
Definition: CreatureAI.h:71
Definition: boss_blood_queen_lana_thel.cpp:101
Definition: boss_blood_queen_lana_thel.cpp:64
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
Definition: MotionMaster.h:172
Definition: boss_blood_queen_lana_thel.cpp:98
Definition: boss_blood_queen_lana_thel.cpp:60
Player * SelectRandomTarget(bool includeOfftank, std::list< Player * > *targetList=NULL)
Definition: boss_blood_queen_lana_thel.cpp:476
Definition: boss_blood_queen_lana_thel.cpp:120
Definition: boss_blood_queen_lana_thel.cpp:33
Unit * GetVictim() const
Definition: Unit.h:1379
TC_GAME_API Player * GetPlayer(Map const *, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:184
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Definition: boss_blood_queen_lana_thel.cpp:47
uint32_t uint32
Definition: Define.h:150
Definition: boss_blood_queen_lana_thel.cpp:75
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
#define SPELL_BERSERK
Definition: boss_four_horsemen.cpp:74
Definition: icecrown_citadel.h:57
void ScheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:123
Definition: boss_blood_queen_lana_thel.cpp:58
void Update(uint32 time)
Definition: EventMap.h:54
Definition: boss_blood_queen_lana_thel.cpp:102
void Clear()
Definition: ObjectGuid.h:215
Definition: boss_blood_queen_lana_thel.cpp:32
ObjectGuid const & GetGUID() const
Definition: Object.h:105
Definition: boss_blood_queen_lana_thel.cpp:56
Definition: boss_blood_queen_lana_thel.cpp:40
uint32 ExecuteEvent()
Definition: EventMap.cpp:46
Definition: boss_blood_queen_lana_thel.cpp:63
Definition: QuestDef.h:113
Definition: UpdateFields.h:124
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1395
EventMap events
Definition: ScriptedCreature.h:371
Definition: boss_blood_queen_lana_thel.cpp:104
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
Definition: boss_blood_queen_lana_thel.cpp:54
uint32_t uint32
Definition: g3dmath.h:168
ObjectGuid _offtankGUID
Definition: boss_blood_queen_lana_thel.cpp:509
Position const airPos
Definition: boss_blood_queen_lana_thel.cpp:126
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
void DelayEvents(Milliseconds const &delay)
Definition: EventMap.h:219
bool IsEmpty() const
Definition: ObjectGuid.h:242
Definition: boss_blood_queen_lana_thel.cpp:48
GuidSet _vampires
Definition: boss_blood_queen_lana_thel.cpp:507
bool Is25ManRaid() const
Definition: ScriptedCreature.h:274