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:46
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2500
void GetPosition(float &x, float &y) const
Definition: Position.h:122
MotionMaster * GetMotionMaster()
Definition: Unit.h:1601
bool IsInCombat() const
Definition: Unit.h:820
void MovePoint(uint32 id, const Position &pos, bool generatePath=true, bool forceDestination=true)
Definition: MotionMaster.h:211
Unit * GetCaster()
Definition: SpellScript.cpp:401