热榜点赞bug修改2
parent
514e19b210
commit
f59f042aa8
|
@ -84,7 +84,7 @@ public class HeroHotRank extends ForceRank {
|
||||||
String heroTid = next.getValue();
|
String heroTid = next.getValue();
|
||||||
SCHero scHero = heroMap.get(Integer.parseInt(heroTid));
|
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();
|
iterator.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,8 @@ public class SCHero implements BaseConfig{
|
||||||
|
|
||||||
private int job;
|
private int job;
|
||||||
|
|
||||||
|
private int hide;
|
||||||
|
|
||||||
private int maxLevel;
|
private int maxLevel;
|
||||||
|
|
||||||
private int weight;
|
private int weight;
|
||||||
|
@ -293,6 +295,10 @@ public class SCHero implements BaseConfig{
|
||||||
return star;
|
return star;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getHide() {
|
||||||
|
return hide;
|
||||||
|
}
|
||||||
|
|
||||||
public int[][] getSecondaryFactor() {
|
public int[][] getSecondaryFactor() {
|
||||||
return secondaryFactor;
|
return secondaryFactor;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue