◆ HandleDummy()
160 {
161 std::list<Creature*> raptors;
163
164 raptors.remove_if([](
Creature* raptor)
165 {
167 });
168
169 if (raptors.empty())
170 return;
171
173 if (!raptor)
174 return;
175
178 }
@ NPC_DRAKKARI_GUTRIPPER
Definition boss_dred.cpp:38
@ NPC_DRAKKARI_SCYTHECLAW
Definition boss_dred.cpp:37
CreatureAI * AI() const
Definition Creature.h:144
Unit * GetCaster()
Definition SpellScript.cpp:401
virtual void AttackStart(Unit *)
Definition UnitAI.cpp:28
bool IsAlive() const
Definition Unit.h:1794
bool IsInCombat() const
Definition Unit.h:935
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition Object.cpp:2559
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