feat: implement UnlockAndSetJewelBoostNine. Setting the max boost in createSelector, cleaner this way.
This commit is contained in:
parent
07fc9c433c
commit
d05112e2f4
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user