feat: implement UnlockAndSetJewelBoostNine. Setting the max boost in createSelector, cleaner this way.

This commit is contained in:
JUJUX670E\Jujuforce 2024-07-02 22:15:19 +02:00
parent 07fc9c433c
commit d05112e2f4

View File

@ -10,11 +10,17 @@ using MU3.Util;
namespace MU3; 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() private JewelBoostID getMaxBoost()
{ {
Singleton<UserManager>.instance.userLocal.boost = JewelBoostID.Nine;
return JewelBoostID.Nine; return JewelBoostID.Nine;
} }
private void createSelector()
{
Singleton<UserManager>.instance.userLocal.boost = JewelBoostID.Nine;
orig_createSelector();
}
} }