feat: implement UnlockAndSetJewelBoostNine #1

Merged
akanyan merged 3 commits from jujuforce/mu3-mods:main into main 2024-07-02 20:47:46 +00:00
Showing only changes of commit d05112e2f4 - Show all commits

View File

@ -10,11 +10,17 @@ using MU3.Util;
namespace MU3;
public class patch_Scene_32_PrePlayMusic_Confirm: Scene_32_PrePlayMusic_Confirm
public class patch_Scene_32_PrePlayMusic_Confirm : Scene_32_PrePlayMusic_Confirm
{
private extern void orig_createSelector();
private JewelBoostID getMaxBoost()
{
Singleton<UserManager>.instance.userLocal.boost = JewelBoostID.Nine;
return JewelBoostID.Nine;
}
private void createSelector()
{
Singleton<UserManager>.instance.userLocal.boost = JewelBoostID.Nine;
orig_createSelector();
}
}