Merge branch 'master_online_hw' of http://60.1.1.230/backend/jieling_server into master_online_hw

back_recharge
zhangshanxue 2020-09-23 16:58:11 +08:00
commit fc6c95fc22
1 changed files with 3 additions and 0 deletions

View File

@ -712,6 +712,9 @@ public class ItemUtil {
if (levelConfig != null) {
//需要先确定下每级真实需要的经验,与客户端实现方式同步,认为表里填的升到下一级所需经验是前边各级经验总和
int[][] integral = levelConfig.getIntegral();
if(integral==null||integral.length<=0||integral[0].length<=0){
return;
}
STreasureSunlongConfig lastLevelConfig = STreasureSunlongConfig.levelTreasureConfigMap.get(activity.getId()).get(levelConfig.getLevel() - 1);
int[][] costItems = integral;
if (lastLevelConfig != null) {