mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-11-19 13:16:56 +00:00
revert to old bepinex ig
This commit is contained in:
1 parent
88df17d4e2
commit
cbe99764ef
3 files changed
+7
-7
No files matched your search
@@ -588,6 +588,7 @@ public enum CustomRoles
|
||||
Haste,
|
||||
Haunter, // Ghost role
|
||||
Hidden,
|
||||
Influencer, // SpiritGuide - Ghost role
|
||||
Insane,
|
||||
Introvert,
|
||||
Knighted,
|
||||
|
||||
+5
-2
@@ -44,8 +44,11 @@
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)' == 'IL2CPP'">
|
||||
<PackageReference Include="AmongUs.GameLibs.Steam" Version="2026.9.29" PrivateAssets="all" />
|
||||
<PackageReference Include="NextBepLoader.BepInEx.IL2CPP.MSBuild" Version="2.1.0-dev-6" />
|
||||
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.785" Private="false" ExcludeAssets="runtime;native" />
|
||||
<PackageReference Include="BepInEx.IL2CPP.MSBuild" Version="2.1.0-rc.1">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.735" Private="false" ExcludeAssets="runtime;native" />
|
||||
<PackageReference Include="Samboy063.Cpp2IL.Core" Version="2022.1.0-pre-release.21" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -8,15 +8,11 @@ public class Influencer : IGhostRole
|
||||
|
||||
public Team Team => Team.Crewmate;
|
||||
public RoleTypes RoleTypes => RoleTypes.SpiritGuide;
|
||||
public int Cooldown => CD.GetInt();
|
||||
public int Cooldown => CrewmateVanillaRoles.SpiritGuideCooldown.GetInt();
|
||||
|
||||
public void SetupCustomOption()
|
||||
{
|
||||
Options.SetupRoleOptions(647000, TabGroup.OtherRoles, CustomRoles.Influencer);
|
||||
|
||||
CD = new IntegerOptionItem(647002, "SpiritGuideCooldown", new(0, 120, 1), 30, TabGroup.OtherRoles)
|
||||
.SetParent(Options.CustomRoleSpawnChances[CustomRoles.Influencer])
|
||||
.SetValueFormat(OptionFormat.Seconds);
|
||||
}
|
||||
|
||||
public void OnProtect(PlayerControl pc, PlayerControl target)
|
||||
|
||||
Reference in new issue
Block a user