This commit is contained in:
Gurge44 committed 2025-05-10 13:06:06 +02:00
1 parent f91c515f3a
commit 4d1e36dd1a
3 files changed
+3 -4

No files matched your search

+1
View File
@@ -388,6 +388,7 @@ public enum CustomRoles
Timelord,
Enchanter,
Siren,
Wyrd,
// Solo Kombat
KB_Normal,
+1 -1
View File
@@ -479,7 +479,7 @@ public static class Utils
if (CustomGameMode.HideAndSeek.IsActiveOrIntegrated() && targetMainRole == CustomRoles.Agent && CustomHnS.PlayerRoles[seerId].Interface.Team != Team.Impostor)
targetMainRole = CustomRoles.Hider;
if ((ExileController.Instance || targetState.IsDead) && !GameStates.IsEnded && Forger.Forges.TryGetValue(targetId, out var forgedRole))
if ((ExileController.Instance || targetState.IsDead || (GameStates.IsMeeting && MeetingHud.Instance.state is MeetingHud.VoteStates.Results or MeetingHud.VoteStates.Proceeding or MeetingHud.VoteStates.Voted or MeetingHud.VoteStates.NotVoted)) && !GameStates.IsEnded && Forger.Forges.TryGetValue(targetId, out var forgedRole))
targetMainRole = forgedRole;
if (!self && seerMainRole.IsImpostor() && targetMainRole == CustomRoles.DoubleAgent && DoubleAgent.ShownRoles.TryGetValue(targetId, out CustomRoles shownRole))
+1 -3
View File
@@ -57,10 +57,8 @@ public class Lurker : RoleBase
pc.SyncSettings();
}
public override bool OnCheckMurder(PlayerControl killer, PlayerControl target)
public override void OnMurder(PlayerControl killer, PlayerControl target)
{
killer.ResetKillCooldown();
killer.SyncSettings();
return true;
}
}