Compare commits

...
2 Commits
Author SHA1 Message Date
Gurge44 b29f08f599 emergency fix 2025-10-15 17:57:16 +02:00
Gurge44 8ae1c8da9b a 2025-10-15 14:25:35 +02:00
5 changed files with 5 additions and 9 deletions

No files matched your search

-4
View File
@@ -24,16 +24,12 @@ namespace CustomTeamAssigner
private static readonly Dictionary<CustomRoles, string> RoleNames = new()
{
{ CustomRoles.Hacker, "Anonymous" },
{ CustomRoles.Sans, "Arrogance" },
{ CustomRoles.OverKiller, "Butcher" },
{ CustomRoles.EvilDiviner, "Consigliere" },
{ CustomRoles.BallLightning, "Lightning" },
{ CustomRoles.LovingCrewmate, "Lover" },
{ CustomRoles.LovingImpostor, "Loving Impostor" },
{ CustomRoles.Mafia, "Nemesis" },
{ CustomRoles.ImperiusCurse, "Soul Catcher" },
{ CustomRoles.BoobyTrap, "Trapster" },
{ CustomRoles.Bloodhound, "Coroner" },
{ CustomRoles.Divinator, "Fortune Teller" },
{ CustomRoles.ParityCop, "Inspector" },
{ CustomRoles.Needy, "Lazy Guy" },
+2 -2
View File
@@ -42,8 +42,8 @@ public class Main : BasePlugin
private const string DebugKeyHash = "c0fd562955ba56af3ae20d7ec9e64c664f0facecef4b3e366e109306adeae29d";
private const string DebugKeySalt = "59687b";
private const string PluginGuid = "com.gurge44.endlesshostroles";
public const string PluginVersion = "6.6.0";
public const string PluginDisplayVersion = "6.6.0";
public const string PluginVersion = "6.6.1";
public const string PluginDisplayVersion = "6.6.1";
public const bool TestBuild = false;
public const string NeutralColor = "#ffab1b";
-2
View File
@@ -1879,8 +1879,6 @@ internal static class ExtendedPlayerControl
if (Options.CurrentGameMode == CustomGameMode.SoloKombat) return;
if (target == null) target = killer;
if (!target.IsAlive()) return;
CheckAndSpawnAdditionalRefugee(target.Data);
+1 -1
View File
@@ -98,7 +98,7 @@ public class Goddess : Coven
public override bool OnCheckMurderAsTarget(PlayerControl killer, PlayerControl target)
{
if (AbilityEndTS == 0 || killer.Is(CustomRoles.Pestilence)) return true;
if (AbilityEndTS == 0 || killer.Is(CustomRoles.Pestilence) || !killer.IsAlive()) return true;
killer.SetRealKiller(target);
target.Kill(killer);
+2
View File
@@ -104,6 +104,8 @@ internal class Veteran : RoleBase
public override bool OnCheckMurderAsTarget(PlayerControl killer, PlayerControl target)
{
if (!killer.IsAlive()) return false;
if (VeteranInProtect.ContainsKey(target.PlayerId)
&& killer.PlayerId != target.PlayerId
&& VeteranInProtect[target.PlayerId] + VeteranSkillDuration.GetInt() >= Utils.TimeStamp)