376 {
379 return;
380
381 std::list<Creature*> triggers;
383 if (triggers.empty())
384 return;
385
388
389 }
bool roll_chance_i(int chance)
Definition: Random.h:59
@ NPC_VIAL_BUNNY
Definition: boss_apothecary_hummel.cpp:72
auto SelectRandomContainerElement(C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type &
Definition: Containers.h:133
Definition: Creature.h:43
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2511
void GetPosition(float &x, float &y) const
Definition: Position.h:121
MotionMaster * GetMotionMaster()
Definition: Unit.h:1620
bool IsInCombat() const
Definition: Unit.h:884
void MovePoint(uint32 id, const Position &pos, bool generatePath=true, bool forceDestination=true)
Definition: MotionMaster.h:213
Unit * GetCaster()
Definition: SpellScript.cpp:401