挑战副本改为读表
parent
4d3798b06d
commit
bb42f0b1c9
|
@ -108,6 +108,13 @@ public class ChallengeLogic {
|
|||
//宝物副本星期2、4、6、7开启
|
||||
int[][] config = {{1, 3, 5, 7}, {2, 4, 6, 7}};
|
||||
//status = new int[2];
|
||||
if(SSpecialConfig.Tiaozhan_open_time != null && !"".equals(SSpecialConfig.Tiaozhan_open_time)){
|
||||
config = SSpecialConfig.getTwiceArrayValue(SSpecialConfig.Tiaozhan_open_time);
|
||||
}
|
||||
if(config.length<=0 || config.length > 2){
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < config.length; i++) {
|
||||
for (int j = 0; j < config[i].length; j++) {
|
||||
// 判断当前周几
|
||||
|
|
|
@ -90,6 +90,7 @@ public class SSpecialConfig implements BaseConfig {
|
|||
public static final String Gem_Lottery10 = "Gem_Lottery10";//宝石十连所需道具
|
||||
public static final String Gem_Senior_Lottery = "Gem_Senior_Lottery";//高级宝石单抽所需道具
|
||||
public static final String Gem_Senior_Lottery10 = "Gem_Senior_Lottery10";//高级宝石十连所需道具
|
||||
public static final String Tiaozhan_open_time = "Tiaozhan_open_time";//挑战副本开启时间
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue