mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Add Constricted (Addon) (#582)
* Update PlayerGameOptionsSender.cs * Update CustomRolesHelper.cs * Add 'Constricted' role to CustomRoles * Update CustomRoles.cs * Update en_US.jsonc * Update Main.cs * Create Constricted.cs
This commit is contained in:
1 parent
99fb35725f
commit
37faf3e02c
7 files changed
+25
-1
No files matched your search
@@ -354,6 +354,11 @@ public sealed class PlayerGameOptionsSender(PlayerControl player) : GameOptionsS
|
||||
opt.SetInt(Int32OptionNames.KillDistance, 2);
|
||||
break;
|
||||
}
|
||||
case CustomRoles.Constricted:
|
||||
{
|
||||
opt.SetInt(Int32OptionNames.KillDistance, 0);
|
||||
break;
|
||||
}
|
||||
case CustomRoles.Madmate:
|
||||
{
|
||||
opt.SetVision(Options.MadmateHasImpostorVision.GetBool());
|
||||
|
||||
Reference in new issue
Block a user