feat: implement UnlockAndSetJewelBoostNine
This commit is contained in:
parent
3238de75f2
commit
07fc9c433c
@ -0,0 +1,24 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net35</TargetFramework>
|
||||||
|
<AssemblyName>Assembly-CSharp.UnlockAndSetJewelBoostNine.mm</AssemblyName>
|
||||||
|
<Company>7EVENDAYS⇔HOLIDAYS</Company>
|
||||||
|
<Description>Unlock and set the jewel boost to max</Description>
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
<LangVersion>latest</LangVersion>
|
||||||
|
<Platforms>x64</Platforms>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
|
||||||
|
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
|
||||||
|
<Reference Include="Mu3Assembly">
|
||||||
|
<HintPath>..\Common\Assembly-CSharp_unpacked.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="CopyDLLs" AfterTargets="Build">
|
||||||
|
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
@ -0,0 +1,20 @@
|
|||||||
|
#pragma warning disable CS0626
|
||||||
|
#pragma warning disable CS0649
|
||||||
|
#pragma warning disable IDE0051
|
||||||
|
#pragma warning disable IDE1006
|
||||||
|
#pragma warning disable CS0414
|
||||||
|
|
||||||
|
using MU3.DB;
|
||||||
|
using MU3.User;
|
||||||
|
using MU3.Util;
|
||||||
|
|
||||||
|
namespace MU3;
|
||||||
|
|
||||||
|
public class patch_Scene_32_PrePlayMusic_Confirm: Scene_32_PrePlayMusic_Confirm
|
||||||
|
{
|
||||||
|
private JewelBoostID getMaxBoost()
|
||||||
|
{
|
||||||
|
Singleton<UserManager>.instance.userLocal.boost = JewelBoostID.Nine;
|
||||||
|
return JewelBoostID.Nine;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user