fix bug
parent
7d255d416b
commit
8b01d62c24
|
@ -54,6 +54,7 @@ public class SMainLevelConfig implements BaseConfig {
|
|||
|
||||
|
||||
public static boolean biggerThanFight(int soureFight,int targetFight){
|
||||
if(targetFight==0){return true;}
|
||||
SMainLevelConfig mineLevelConfig = SMainLevelConfig.config.get(soureFight);
|
||||
SMainLevelConfig otherLevelConfig = SMainLevelConfig.config.get(targetFight);
|
||||
return mineLevelConfig.getVirtureId()>=otherLevelConfig.getVirtureId();
|
||||
|
|
Loading…
Reference in New Issue