mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Add Framer & Backstabber, Try fixing CNO (no success), other fixes
This commit is contained in:
1 parent
1ca029b3c0
commit
c5a2069b5b
22 files changed
+281
-75
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user