修改bug

This commit is contained in:
2026-05-19 18:13:35 +08:00
parent defb4f0280
commit b764571e86
13 changed files with 101 additions and 74 deletions
+1
View File
@@ -705,6 +705,7 @@ namespace BingoBrain
public static AdReward GetChanceByIdAndNum(int id, int num = 0)
{
if(id==102) id=101;
var adRewardModel = GetConfig<AdRewardModel>();
return adRewardModel.GetDataList().FirstOrDefault(vo =>
vo.reward == id && (vo.rewardAmount == 0 || vo.rewardAmount == num));