摘星阁装备强化

back_recharge
duhui 2022-08-31 15:18:17 +08:00
parent 609bdac818
commit dd541be780
1 changed files with 3 additions and 0 deletions

View File

@ -6504,6 +6504,9 @@ public class HeroLogic {
hero.addEquipAdvanceLv(1);
}
else {
if (type < 1 || type > 4){
throw new ErrorCodeException(ErrorCode.SERVER_DEFINE,"装备位置错误:"+type);
}
Map<Integer, SHomeLandLevel> levelMap = STableManager.getConfig(SHomeLandLevel.class);
HeroEquipStrong heroEquipStrong = hero.getEquipStrongMap().getOrDefault(type, new HeroEquipStrong(type));
// 校验配置表