bug修改

This commit is contained in:
2026-06-02 15:47:38 +08:00
parent 97610ede05
commit 9a93ae4b19
9 changed files with 30 additions and 9 deletions
+4 -3
View File
@@ -705,7 +705,7 @@ namespace BingoBrain
public static AdReward GetChanceByIdAndNum(int id, int num = 0)
{
if(id==102) id=101;
if (id == 102) id = 101;
var adRewardModel = GetConfig<AdRewardModel>();
return adRewardModel.GetDataList().FirstOrDefault(vo =>
vo.reward == id && (vo.rewardAmount == 0 || vo.rewardAmount == num));
@@ -1659,7 +1659,8 @@ namespace BingoBrain
}
public static bool isRDExchangeMode()
{
// return false;//zhushi
// return false;//zhushi
return true;//zhushi
return SaveData.GetSaveobject().ExchangeModeToggle == 1;
}
public static string getDesByKey(string key)
@@ -1686,7 +1687,7 @@ namespace BingoBrain
if (GameHelper.isRDExchangeMode())
{
string str = "<img src='ui://pmf3wbji112epi7'/>";
return str + $" {ch:N0}";
return str + $" {ch:N}";
}
else
{