猎妖之路节点生成错误
parent
22a5668ac2
commit
1fa16cadd0
|
@ -905,6 +905,8 @@ public class ExpeditionLogic {
|
|||
}
|
||||
int i1 = ranndomFromWeight(cfg);
|
||||
SExpeditionRecruitConfig sExpeditionRecruitConfig = STableManager.getConfig(SExpeditionRecruitConfig.class).get(i1);
|
||||
|
||||
if(type == 1){
|
||||
SCHero hero1 = SCHero.getsCHero().get(sExpeditionRecruitConfig.getHeroId());
|
||||
i++;
|
||||
if(hero1==null){
|
||||
|
@ -915,9 +917,9 @@ public class ExpeditionLogic {
|
|||
if(tempType.contains(propertyName)){
|
||||
continue;
|
||||
}
|
||||
|
||||
tempid.add(i1);
|
||||
tempType.add(propertyName);
|
||||
}
|
||||
tempid.add(i1);
|
||||
i++;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue