Skip to content

Commit

Permalink
Merge pull request #113 from Xele02/_WIPSettingMenu
Browse files Browse the repository at this point in the history
Wip setting menu
  • Loading branch information
Xele02 authored Aug 27, 2023
2 parents 0d1fb78 + 6aa2e44 commit 071ff73
Show file tree
Hide file tree
Showing 163 changed files with 6,358 additions and 586 deletions.
1 change: 1 addition & 0 deletions Unity/Assets/Scripts/RuntimeSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public bool IsPathValid()
public bool EnableProfileSaveCheck = false;
public bool EnableLocalSaveCheck = false;
public bool EnableDebugStopCoroutine = false;
public bool EnableDebugSkills = false;
}

#if UNITY_EDITOR
Expand Down
4 changes: 2 additions & 2 deletions Unity/Assets/UMAssets/Scripts/CMMKCEPBIHI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ private static int CBILJEAECKP_GetBaseScore(DFKGGBMFFGB_PlayerInfo DJLNOAMJECI_P
}
}
int c = IMMAOANGPNK.HHCJCDFCLOB.NKEBMCIMJND_Database.HNMMJINNHII_Game.ADBELGIDIEN_GetProgress(BAKLKJLPLOJ_FPt, GBNOALJPOBM_IsLine6);
return (scoreWithEnemy - scoreWithoutEnemy) + Mathf.RoundToInt(c * total / 1000.0f);
return (scoreWithEnemy - scoreWithoutEnemy) + (int)(c * total / 1000.0f);
}

// // RVA: 0x108E2F8 Offset: 0x108E2F8 VA: 0x108E2F8
Expand Down Expand Up @@ -1528,7 +1528,7 @@ private static int CBIIKLGPILB(int KHDDPKHPJID, EEDKAACNBBG_MusicData GMFMMDAKEN
else
{
KLJCBKMHKNK k = IMMAOANGPNK.HHCJCDFCLOB.NKEBMCIMJND_Database.HNMMJINNHII_Game.BBFNPHGDCOF(vals[(int)AKNELONELJK_Difficulty]);
EGLJKICMCPG e = k.GCINIJEMHFK(KLJCBKMHKNK.HHMPIIILOLD.CBHCEDGAGHL/*3*/);
EGLJKICMCPG e = k.GCINIJEMHFK(KLJCBKMHKNK.HHMPIIILOLD.CBHCEDGAGHL_AwakenDiva/*3*/);
int a = IMMAOANGPNK.HHCJCDFCLOB.NKEBMCIMJND_Database.HNMMJINNHII_Game.GAHIBKLEDBF((int)AKNELONELJK_Difficulty, GBNOALJPOBM_IsLine6);
int b = (int)Mathf.Clamp(e.PHGLKBPLFDH_RMax / 100.0f * POMOLHBFAPM_Score.JJBOEMOJPEC_DivaNote, e.MPPANPOOIIB_NMin, e.GKPPCFMBANO_NMax);
res = 0;
Expand Down
14 changes: 7 additions & 7 deletions Unity/Assets/UMAssets/Scripts/Database/LDDDBPNGGIN.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1023,13 +1023,13 @@ public class KLJCBKMHKNK
{
public enum HHMPIIILOLD
{
CCAPCGPIIPF = 0,
PFIOMNHDHCO = 1,
FMLPIOFBCMA = 2,
CBHCEDGAGHL = 3,
EOMCAODFBCN = 4,
FDBLOGGAKOE = 5,
MFOJOJCAJOP = 6,
CCAPCGPIIPF_Normal = 0,
PFIOMNHDHCO_Valkyrie = 1,
FMLPIOFBCMA_Diva = 2,
CBHCEDGAGHL_AwakenDiva = 3,
EOMCAODFBCN_ValkyrieFail = 4,
FDBLOGGAKOE_DivaFail = 5,
MFOJOJCAJOP_AllItems = 6,
JKAPLHFHGKL = 6,
AEFCOHJBLPO = 7,
}
Expand Down
6 changes: 6 additions & 0 deletions Unity/Assets/UMAssets/Scripts/EKLNMHFCAOI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,12 @@ public static int FABCKNDLPDH_GetItemRarity(FKGCBLHOOCL_Category INDDJNMPONH, in
{
case FKGCBLHOOCL_Category.PJDEOPMBGKJ_PaidVC:
break;
case FKGCBLHOOCL_Category.ACGHELNGNGK_UnionCredit:
{
if(PPFNGGCBJKC != 0)
PPFNGGCBJKC--;
return IMMAOANGPNK.HHCJCDFCLOB.NKEBMCIMJND_Database.NMJEDFNPIPL_UcItem.CDENCMNHNGA[PPFNGGCBJKC].EKLIPGELKCL_Rar;
}
case FKGCBLHOOCL_Category.MHKFDBLMOGF_Scene:
return IMMAOANGPNK.HHCJCDFCLOB.NKEBMCIMJND_Database.ECNHDEHADGL_Scene.CDENCMNHNGA_SceneList[PPFNGGCBJKC - 1].EKLIPGELKCL_Rarity;
case FKGCBLHOOCL_Category.HLCHKCJLEGK_GrowItem:
Expand Down
Loading

0 comments on commit 071ff73

Please sign in to comment.