◆ HandleDummy()
152 {
153 std::list<Creature*> raptors;
155
156 raptors.remove_if([](
Creature* raptor)
157 {
159 });
160
161 if (raptors.empty())
162 return;
163
165 if (!raptor)
166 return;
167
170 }
@ NPC_DRAKKARI_GUTRIPPER
Definition boss_dred.cpp:38
@ NPC_DRAKKARI_SCYTHECLAW
Definition boss_dred.cpp:37
CreatureAI * AI() const
Definition Creature.h:145
Unit * GetCaster()
Definition SpellScript.cpp:401
virtual void AttackStart(Unit *)
Definition UnitAI.cpp:27
bool IsAlive() const
Definition Unit.h:1773
bool IsInCombat() const
Definition Unit.h:924
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition Object.cpp:2504
auto SelectRandomContainerElement(C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type &
Definition Containers.h:133
References Creature::AI(), UnitAI::AttackStart(), SpellScript::GetCaster(), WorldObject::GetCreatureListWithEntryInGrid(), Unit::IsAlive(), Unit::IsInCombat(), NPC_DRAKKARI_GUTRIPPER, NPC_DRAKKARI_SCYTHECLAW, and Acore::Containers::SelectRandomContainerElement().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
| void spell_dred_raptor_call::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/scripts/Northrend/DraktharonKeep/boss_dred.cpp