Core/Players: Dueling players in your party / raid should not make them always detectable.
Fixes seeing stealthed rogues & druids, as well as invisible mages in duels.
This commit is contained in:
@@ -22106,10 +22106,10 @@ bool Player::IsAlwaysDetectableFor(WorldObject const* seer) const
|
||||
|
||||
if (const Player* seerPlayer = seer->ToPlayer())
|
||||
if (IsGroupVisibleFor(seerPlayer))
|
||||
return true;
|
||||
return !(seerPlayer->duel && seerPlayer->duel->startTime != 0 && seerPlayer->duel->opponent == this);
|
||||
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Player::IsVisibleGloballyFor(Player const* u) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user