热榜点赞bug修改2

duhui 2022-12-12 17:18:45 +08:00
parent 514e19b210
commit f59f042aa8
2 changed files with 7 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public class HeroHotRank extends ForceRank {
String heroTid = next.getValue();
SCHero scHero = heroMap.get(Integer.parseInt(heroTid));
// 英雄不存在,品质不够,未开放
if (scHero == null || scHero.getNatural() < naturalLimit || scHero.getIsSoulOpen() == 0){
if (scHero == null || scHero.getNatural() < naturalLimit || scHero.getHide() == 0){
iterator.remove();
}
}

View File

@ -58,6 +58,8 @@ public class SCHero implements BaseConfig{
private int job;
private int hide;
private int maxLevel;
private int weight;
@ -293,6 +295,10 @@ public class SCHero implements BaseConfig{
return star;
}
public int getHide() {
return hide;
}
public int[][] getSecondaryFactor() {
return secondaryFactor;
}