mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
* organise roles and fix role and gamemode namespaces * fix hudspritepatch import
17 lines
523 B
C#
17 lines
523 B
C#
using static EHR.Options;
|
|
|
|
namespace EHR.Roles;
|
|
|
|
internal class Bewilder : IAddon
|
|
{
|
|
public AddonTypes Type => AddonTypes.Harmful;
|
|
|
|
public void SetupCustomOption()
|
|
{
|
|
SetupAdtRoleOptions(15200, CustomRoles.Bewilder, canSetNum: true, teamSpawnOptions: true);
|
|
|
|
BewilderVision = new FloatOptionItem(15210, "BewilderVision", new(0f, 5f, 0.05f), 0.6f, TabGroup.Addons)
|
|
.SetParent(CustomRoleSpawnChances[CustomRoles.Bewilder])
|
|
.SetValueFormat(OptionFormat.Multiplier);
|
|
}
|
|
} |