mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Player speed by map (#481)
* Update CustomRolesHelper.cs onbound & unbound can't be together * Update OptionHolder.cs test 1 * Update OptionHolder.cs test 2 * Update OptionHolder.cs o * Update OptionHolder.cs test 3 * Update OptionHolder.cs .
This commit is contained in:
1 parent
6a6e7e82ac
commit
a8f7ff5ef6
2 files changed
+26
-1
No files matched your search
@@ -1191,7 +1191,7 @@ internal static class CustomRolesHelper
|
||||
CustomRoles.Loyal when (!pc.IsImpostor() && !pc.IsCrewmate()) || pc.Is(CustomRoles.Madmate) => false,
|
||||
CustomRoles.Loyal when pc.IsImpostor() && !Options.ImpCanBeLoyal.GetBool() => false,
|
||||
CustomRoles.Seer when pc.GetCustomRole() is CustomRoles.Mortician or CustomRoles.TimeMaster => false,
|
||||
CustomRoles.Onbound when pc.GetCustomRole() is CustomRoles.SuperStar or CustomRoles.Ankylosaurus or CustomRoles.Car => false,
|
||||
CustomRoles.Onbound when pc.GetCustomRole() is CustomRoles.SuperStar or CustomRoles.Ankylosaurus or CustomRoles.Car or CustomRoles.Unbound => false,
|
||||
CustomRoles.Rascal when pc.Is(CustomRoles.SuperStar) || pc.Is(CustomRoles.Madmate) => false,
|
||||
CustomRoles.Madmate when pc.Is(CustomRoles.SuperStar) => false,
|
||||
CustomRoles.Gravestone when pc.GetCustomRole() is CustomRoles.SuperStar or CustomRoles.Innocent => false,
|
||||
@@ -2033,3 +2033,4 @@ public enum CountTypes
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -383,6 +383,12 @@ public static class Options
|
||||
public static OptionItem FungleChance;
|
||||
public static OptionItem MinPlayersForAirship;
|
||||
public static OptionItem MinPlayersForFungle;
|
||||
public static OptionItem SpeedForSkeld;
|
||||
public static OptionItem SpeedForMira;
|
||||
public static OptionItem SpeedForPolus;
|
||||
public static OptionItem SpeedForDlesk;
|
||||
public static OptionItem SpeedForAirship;
|
||||
public static OptionItem SpeedForFungle;
|
||||
|
||||
public static OptionItem GodfatherCancelVote;
|
||||
|
||||
@@ -1938,6 +1944,24 @@ public static class Options
|
||||
.SetParent(FungleChance)
|
||||
.SetValueFormat(OptionFormat.Players);
|
||||
|
||||
SpeedForSkeld = new FloatOptionItem(20782, "SpeedForSkeld", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings)
|
||||
.SetValueFormat(OptionFormat.Multiplier);
|
||||
|
||||
SpeedForMira = new FloatOptionItem(20783, "SpeedForMira", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings)
|
||||
.SetValueFormat(OptionFormat.Multiplier);
|
||||
|
||||
SpeedForPolus = new FloatOptionItem(20784, "SpeedForPolus", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings)
|
||||
.SetValueFormat(OptionFormat.Multiplier);
|
||||
|
||||
SpeedForDlesk = new FloatOptionItem(20785, "SpeedForDlesk", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings)
|
||||
.SetValueFormat(OptionFormat.Multiplier);
|
||||
|
||||
SpeedForAirship = new FloatOptionItem(20786, "SpeedForAirship", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings)
|
||||
.SetValueFormat(OptionFormat.Multiplier);
|
||||
|
||||
SpeedForFungle = new FloatOptionItem(20787, "SpeedForFungle", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings)
|
||||
.SetValueFormat(OptionFormat.Multiplier);
|
||||
|
||||
LoadingPercentage = 69;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user