Merge pull request #320 from Gurge44/HyperAtill-patch-1

Update Sans.cs
This commit is contained in:
HyperAtill authored and GitHub committed 2025-07-21 10:35:11 +03:00
commit 4b4be205f1
1 file changed
+3 -3
+3 -3
View File
@@ -50,7 +50,7 @@ public class Sans : RoleBase
.SetParent(CustomRoleSpawnChances[CustomRoles.Sans])
.SetValueFormat(OptionFormat.Seconds);
ShowProgressText = new BooleanOptionItem(Id + 13, "SansShowProgressText", false, TabGroup.ImpostorRoles)
ShowProgressText = new BooleanOptionItem(Id + 13, "SansShowProgressText", true, TabGroup.ImpostorRoles)
.SetParent(CustomRoleSpawnChances[CustomRoles.Sans]);
BardChance = new IntegerOptionItem(Id + 14, "BardChance", new(0, 100, 5), 0, TabGroup.ImpostorRoles)
@@ -142,7 +142,7 @@ public class Sans : RoleBase
public override string GetProgressText(byte playerId, bool comms)
{
if (!ShowProgressTxt) return "";
if (!ShowProgressTxt) return base.GetProgressText(playerId, comms);
double reduction = Math.Round(DefaultKCD - NowCooldown, 1);
string nowKCD = string.Format(Translator.GetString("KCD"), Math.Round(NowCooldown, 1));
@@ -153,4 +153,4 @@ public class Sans : RoleBase
{
NowCooldown = reader.ReadSingle();
}
}
}