Colored name targets for Snitch (#611)

This commit is contained in:
TommyXL authored and GitHub committed 2026-05-16 17:14:45 +02:00
1 parent a53dfb9c9a
commit 1d6a817b39
1 file changed
+1
+1
View File
@@ -193,6 +193,7 @@ public static class NameColorManager
CustomRoles.Wyrd when ((Wyrd)seerRoleClass).MarkedPlayers.Contains(target.PlayerId) => "000000",
CustomRoles.Investor when ((Investor)seerRoleClass).MarkedPlayers.Contains(target.PlayerId) => "000000",
CustomRoles.Stealth when ((Stealth)seerRoleClass).darkenedPlayers?.Any(x => x == target) ?? false => "000000",
CustomRoles.Snitch when Snitch.IsComplete.GetValueOrDefault(seer.PlayerId) && Snitch.IsSnitchTarget(target) => Utils.GetRoleColorCode(targetRole),
_ => color
};