diff --git a/CultistPlugin/CultistSettings.cs b/CultistPlugin/CultistSettings.cs index ba911c1..a2fd887 100644 --- a/CultistPlugin/CultistSettings.cs +++ b/CultistPlugin/CultistSettings.cs @@ -16,8 +16,7 @@ public static void SetCultistSettings() { IsCultistUsed = CultistPlugin.UseCultist.GetValue(); CultistVisionModifier = CultistPlugin.CultistVisionModifier.GetValue(); - //TODO USE AFTER TESTING CultistConversionCooldown = CultistPlugin.CultistConversionCooldown.GetValue(); - CultistConversionCooldown = 1; + CultistConversionCooldown = CultistPlugin.CultistConversionCooldown.GetValue(); MaxCultistConversions = (int) CultistPlugin.CultistConversions.GetValue(); ImpostorConversionAttemptUsesConversion = CultistPlugin.ImpostorConversionAttemptUsesConversion.GetValue(); DoCrewmatesWinWhenImpostorsAreDead = CultistPlugin.CrewWinsWhenImpDead.GetValue(); diff --git a/CultistPlugin/IntroCutscenePatch.cs b/CultistPlugin/IntroCutscenePatch.cs index 2342ff9..1a6d7b7 100644 --- a/CultistPlugin/IntroCutscenePatch.cs +++ b/CultistPlugin/IntroCutscenePatch.cs @@ -25,7 +25,7 @@ static void Postfix(IntroCutscene.CoBegin__d __instance) { if (IsCultistUsed) { - CultistMod.LastConversion = DateTime.UtcNow.AddSeconds(__instance.timer - CultistConversionCooldown); + CultistMod.LastConversion = DateTime.UtcNow; //.AddSeconds(__instance.timer); if (PlayerControl.LocalPlayer == InitialCultist) { diff --git a/CultistPlugin/MeetingPatch.cs b/CultistPlugin/MeetingPatch.cs index 0cd9809..d82e0cb 100644 --- a/CultistPlugin/MeetingPatch.cs +++ b/CultistPlugin/MeetingPatch.cs @@ -75,6 +75,13 @@ static void Postfix(MeetingHud __instance) return; } + if (IsCultist(__instance.exiledPlayer.PlayerId) && amntAliveCrewmates > 0 && + amntAliveCultists <= 1 && amntAliveImpostors == 0) + { + CLog.Info("Crewmates WIN BY VOTING last Cultists OFF, not creating dummy.!"); + return; + } + //if last impostor just got kicked, might need to create dummy if cultists left in the game if (amntAliveImpostors == 1 && amntAliveCultists > 0 && __instance.exiledPlayer.IsImpostor) { diff --git a/README.md b/README.md index 99be4cc..7f79d9a 100644 Binary files a/README.md and b/README.md differ diff --git a/cultist_intro.png b/cultist_intro.png new file mode 100644 index 0000000..b26934a Binary files /dev/null and b/cultist_intro.png differ