1
0
mirror of synced 2024-11-28 01:10:53 +01:00

AI level to be treated as Default AI level (automatically resets before each play), fix hard gauge bonus that was effective even if force normal gauge on

This commit is contained in:
0auBSQ 2024-06-22 22:51:44 +09:00
parent a8163583e7
commit 58878a43c5
5 changed files with 18 additions and 9 deletions

View File

@ -1505,7 +1505,8 @@ namespace TJAPlayer3
public bool bAuto先生の連打;
public int nRollsPerSec;
public int nAILevel;
public int nDefaultAILevel = 4;
public int nAILevel = 4;
public bool bAIBattleMode = false;
public CAIPerformances[] apAIPerformances =
@ -1595,6 +1596,11 @@ namespace TJAPlayer3
public bool bIsEnabledSystemMenu; // #28200 2012.5.1 yyagi System Menuの使用可否切替
public string strSystemSkinSubfolderFullName; // #28195 2012.5.2 yyagi Skin切替用 System/以下のサブフォルダ名
public void tInitializeAILevel()
{
this.nAILevel = this.nDefaultAILevel;
}
public bool bEnterがキー割り当てのどこにも使用されていない
{
get
@ -2497,7 +2503,7 @@ namespace TJAPlayer3
sw.WriteLine("Taiko5P={0}", this.bAutoPlay[4] ? 1 : 0);
sw.WriteLine("TaikoAutoRoll={0}", this.bAuto先生の連打 ? 1 : 0);
sw.WriteLine("RollsPerSec={0}", this.nRollsPerSec);
sw.WriteLine("AILevel={0}", this.nAILevel);
sw.WriteLine("DefaultAILevel={0}", this.nDefaultAILevel);
//sw.WriteLine("AIBattleMode={0}", bAIBattleMode ? 1 : 0);
sw.WriteLine();
sw.WriteLine(";-------------------");
@ -3407,9 +3413,10 @@ namespace TJAPlayer3
{
this.nRollsPerSec = int.Parse(str4);
}
else if (str3.Equals("AILevel"))
else if (str3.Equals("DefaultAILevel"))
{
this.nAILevel = int.Parse(str4);
this.nDefaultAILevel = int.Parse(str4);
this.nAILevel = this.nDefaultAILevel;
}
/*
if (str3.Equals("AIBattleMode"))

View File

@ -1243,6 +1243,7 @@ namespace TJAPlayer3
ConfigIni.nPreviousPlayerCount = ConfigIni.nPlayerCount;
ConfigIni.nPlayerCount = 2;
ConfigIni.bAIBattleMode = true;
ConfigIni.tInitializeAILevel();
//-----------------------------
#endregion
break;

View File

@ -19,8 +19,8 @@ namespace TJAPlayer3
{
float mult = 1f;
if (Gauge == "Hard") mult *= 1.5f;
if (Gauge == "Extreme") mult *= 1.8f;
if (Gauge == "Hard" && !TJAPlayer3.ConfigIni.bForceNormalGauge) mult *= 1.5f;
if (Gauge == "Extreme" && !TJAPlayer3.ConfigIni.bForceNormalGauge) mult *= 1.8f;
return mult;
}

View File

@ -338,7 +338,7 @@ namespace TJAPlayer3
CLangManager.LangInstance.GetString(61));
this.list項目リスト.Add(this.iRollsPerSec);
this.iAILevel = new CItemInteger(CLangManager.LangInstance.GetString(12), 1, 10, TJAPlayer3.ConfigIni.nAILevel,
this.iAILevel = new CItemInteger(CLangManager.LangInstance.GetString(12), 1, 10, TJAPlayer3.ConfigIni.nDefaultAILevel,
CLangManager.LangInstance.GetString(13));
this.list項目リスト.Add(this.iAILevel);
@ -2003,7 +2003,7 @@ namespace TJAPlayer3
//TJAPlayer3.ConfigIni.bAuto先生の連打 = this.iTaikoAutoRoll.bON;
TJAPlayer3.ConfigIni.nRollsPerSec = this.iRollsPerSec.n現在の値;
TJAPlayer3.ConfigIni.nAILevel = this.iAILevel.n現在の値;
TJAPlayer3.ConfigIni.nDefaultAILevel = this.iAILevel.n現在の値;
for (int i = 0; i < 2; i++)
TJAPlayer3.NamePlate.tNamePlateRefreshTitles(i);

View File

@ -414,7 +414,8 @@ namespace TJAPlayer3
}
else if (TJAPlayer3.ConfigIni.bAIBattleMode)
{
TJAPlayer3.Tx.SongLoading_Bg_AI_Wait.t2D描画(0, 0);
TJAPlayer3.ConfigIni.tInitializeAILevel();
TJAPlayer3.Tx.SongLoading_Bg_AI_Wait.t2D描画(0, 0);
drawPlate_AI();
}
else