revert to old bepinex ig

This commit is contained in:
Gurge44 committed 2026-11-17 09:53:55 +01:00
1 parent 88df17d4e2
commit cbe99764ef
3 files changed
+7 -7

No files matched your search

+1
View File
@@ -588,6 +588,7 @@ public enum CustomRoles
Haste,
Haunter, // Ghost role
Hidden,
Influencer, // SpiritGuide - Ghost role
Insane,
Introvert,
Knighted,
+5 -2
View File
@@ -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>
+1 -5
View File
@@ -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)