Add Framer & Backstabber, Try fixing CNO (no success), other fixes

This commit is contained in:
Gurge44 committed 2024-08-06 14:05:09 +02:00
1 parent 1ca029b3c0
commit c5a2069b5b
22 files changed
+281 -75

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ namespace EHR.Modules
{
if (Options.CurrentGameMode != CustomGameMode.Standard) return false;
if (AssignedGhostRoles.Count >= GhostRoles.Count) return false;
if (pc.IsAlive() || pc.GetCountTypes() is CountTypes.None or CountTypes.OutOfGame || pc.Is(CustomRoles.EvilSpirit)) return false;
if (pc.IsAlive() || pc.GetCountTypes() is CountTypes.None or CountTypes.OutOfGame || pc.Is(CustomRoles.EvilSpirit) || pc.Is(CustomRoles.Backstabber)) return false;
var suitableRole = GetSuitableGhostRole(pc);
return suitableRole switch