mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-19 15:51:58 +00:00
Colored name targets for Snitch (#611)
This commit is contained in:
1 parent
a53dfb9c9a
commit
1d6a817b39
1 file changed
+1
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user