From 8855ad19d50ffeb4f273f27948d772e5034a8717 Mon Sep 17 00:00:00 2001 From: Gurge44 Date: Mon, 1 Apr 2024 20:45:40 +0200 Subject: [PATCH] CTA license, fix ghost role assignment, april fools patch try-catch, Warden everlasting speed fix, fix Seekers being able to kill each other in H&S --- CTA/CustomTeamAssigner/MainWindow.xaml | 11 +- CTA/CustomTeamAssigner/MainWindow.xaml.cs | 8 + CTA/CustomTeamAssigner/PlaySetListerPage.xaml | 10 +- .../PlaySetListerPage.xaml.cs | 8 + CTA/CustomTeamAssigner/Team.cs | 8 + CTA/CustomTeamAssigner/TeamEditorPage.xaml | 19 +-- CTA/CustomTeamAssigner/TeamEditorPage.xaml.cs | 8 + CTA/CustomTeamAssigner/Utils.cs | 8 + EHR.sln.DotSettings | 6 + GameMode/CustomHideAndSeekManager.cs | 2 +- Modules/CustomRolesHelper.cs | 9 +- Modules/GhostRolesManager.cs | 33 +++- Modules/OptionHolder.cs | 5 - Modules/Utils.cs | 46 ++---- Patches/AprilFoolsPatch.cs | 148 ++++++++++-------- Patches/CheckGameEndPatch.cs | 5 + Patches/HudPatch.cs | 2 +- Patches/onGameStartedPatch.cs | 2 +- Resources/Lang/en_US.json | 1 + Roles/AddOns/GhostRoles/Warden.cs | 7 +- main.cs | 4 +- 21 files changed, 228 insertions(+), 122 deletions(-) diff --git a/CTA/CustomTeamAssigner/MainWindow.xaml b/CTA/CustomTeamAssigner/MainWindow.xaml index d606b74cc..c54ab3622 100644 --- a/CTA/CustomTeamAssigner/MainWindow.xaml +++ b/CTA/CustomTeamAssigner/MainWindow.xaml @@ -1,4 +1,12 @@ - + + - - + @@ -109,23 +117,18 @@ -