mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Scripts/ICC): Make Blood-Queen Lana'thel bite tanks as well (#17834)
This commit is contained in:
@@ -332,7 +332,7 @@ public:
|
||||
const Map::PlayerList& pl = me->GetMap()->GetPlayers();
|
||||
for (Map::PlayerList::const_iterator itr = pl.begin(); itr != pl.end(); ++itr)
|
||||
if (Player* p = itr->GetSource())
|
||||
if (p->IsAlive() && p != me->GetVictim() && p->GetGUID() != _offtankGUID && !p->IsGameMaster() && p->GetDistance(me) < 70.0f)
|
||||
if (p->IsAlive() && p->GetDistance(me) < 70.0f)
|
||||
{
|
||||
float th = me->GetThreatMgr().getThreatWithoutTemp(p);
|
||||
if (!target || th > maxThreat)
|
||||
|
||||
Reference in New Issue
Block a user