怪物战力修改表数据

back_recharge
lvxinran 2020-08-21 20:53:26 +08:00
parent 26e02ac204
commit 86eee21319
1 changed files with 3 additions and 2 deletions

View File

@ -137,10 +137,11 @@ public class MonsterUtil {
Map<Integer, SMonsterConfig> integerSMonsterConfigMap = STableManager.getConfig(SMonsterConfig.class);
int maxForce = 0;
for(int i = 0 ; i < groupIds.length;i++){
int calForceMonster = groupIds[i];
if(MapLogic.getInstance().getDifficultyMonster().containsKey(groupIds[i])){
groupIds[i]= MapLogic.getInstance().getDifficultyMonster().get(groupIds[i]);
calForceMonster= MapLogic.getInstance().getDifficultyMonster().get(groupIds[i]);
}
SMonsterGroup sMonsterGroup = integerSMonsterGroupMap.get(groupIds[i]);
SMonsterGroup sMonsterGroup = integerSMonsterGroupMap.get(calForceMonster);
int[][] contents = sMonsterGroup.getContents();
int monsterCount = 0;
int totalMonsterForce = 0;