规范修改

grimm 2024-05-22 14:56:40 +08:00
parent 5dda33b64f
commit 4da48e9d63
2 changed files with 1 additions and 3 deletions

View File

@ -116,7 +116,6 @@ public class FourChallengeLogic {
status = state;
}
/**
*
*/

View File

@ -1262,7 +1262,6 @@ public class PlayerManager extends MongoBase {
}
/**
*
* @return
*/
public int getFourChallengeTotal(){
int result = 0;
@ -1295,7 +1294,7 @@ public class PlayerManager extends MongoBase {
int storeMax = STableManager.getConfig(SCampTowerSetting.class).get(1).getTimesStoreMax();
int num = fourChallengeRemainTimes[index] + value;
// 比较,大于上限取上限
fourChallengeRemainTimes[index] = num > storeMax?storeMax:num;
fourChallengeRemainTimes[index] = Math.min(num, storeMax);
updateString("fourChallengeRemainTimes", fourChallengeRemainTimes);
}