1842 for (ThreatContainer::StorageType::const_iterator itr = m_threatlist.begin(); itr!= m_threatlist.end(); ++itr)
1844 if (
Unit* target = (*itr)->getTarget())
1846 Player* targetPlayer = target->ToPlayer();
1847 if (!targetPlayer || targetPlayer->IsGameMaster())
Map * GetMap() const
Definition: Object.h:543
Definition: Creature.h:467
Definition: boss_malygos.cpp:107
Definition: boss_malygos.cpp:110
Definition: boss_malygos.cpp:159
Definition: eye_of_eternity.h:35
Creature * GetCreature(ObjectGuid const &guid)
Definition: Map.cpp:3535
std::list< HostileReference * > StorageType
Definition: ThreatManager.h:149
Unit * GetCaster() const
Definition: SpellScript.cpp:1006
Creature * ToCreature()
Definition: Object.h:194
Position const MalygosPositions[MAX_MALYGOS_POS]
Definition: boss_malygos.cpp:281
Definition: InstanceScript.h:141