Commit 9aa9c6fc authored by zjz1994's avatar zjz1994

代码暂存

parent 7b01535b
......@@ -619,7 +619,7 @@ export class DataManager extends ABDataManager {
default:
if(name=="hc_advert"){
this[this.getKey(name+"_"+param.type)] = result;
console.log("新广告,分展示位单个区别获取",name,result,param);
// console.log("新广告,分展示位单个区别获取",name,result,param);
}else{
this[this.getKey(name)] = result;
}
......
......@@ -636,7 +636,7 @@ export default class MainScene extends Scene {
this.initConnectedLats();
//初始化樱花
this.initCherry();
console.log("樱花数据",this.cherryData);
// console.log("樱花数据",this.cherryData);
//初始化元素
......@@ -1756,7 +1756,7 @@ export default class MainScene extends Scene {
//初始化引导,游戏和道具
initGuide() {
//游戏引导
const gameGuideChapterNum = [1, 2, 3, 5, 8, 9, 10, 12, 17, 25, 41, 61, 101, 121, 226, 301,331, 377, 406, 426, 453, 501, 556, 601,661,703,752];
const gameGuideChapterNum = [1, 2, 3, 5, 8, 9, 10, 12, 17, 25, 41, 61, 101, 121, 226, 301,331, 377, 406, 426, 453, 501, 556, 601,661,703,752,801];
if (gameGuideChapterNum.indexOf(this.chapter >> 0) > -1) {
if (!readCache(getCacheKey() + this.chapter)) {
this.gameGuide = new GameGuide(this);
......@@ -1779,7 +1779,7 @@ export default class MainScene extends Scene {
//初始化节日元素
async initFestivalEle() {
//添加节日元素,条件可能会变
var guidelevels = [1, 2, 3, 5, 8, 9, 10, 12, 17, 25, 41, 61, 101, 121, 226, 301,331, 377, 406, 426, 453, 501, 556, 601,661,703,752];
var guidelevels = [1, 2, 3, 5, 8, 9, 10, 12, 17, 25, 41, 61, 101, 121, 226, 301,331, 377, 406, 426, 453, 501, 556, 601,661,703,752,801];
if(guidelevels.indexOf(this.chapter)!=-1&&!readCache(getCacheKey() + this.chapter)){
return false;
}
......
This diff is collapsed.
......@@ -681,6 +681,37 @@ const chapterFuns = {
"原来是一块饼干,继续消除它身上的冰块吧~"
]
},
801:{
stepCount: 5,
showIndexs: [
[6,15,24,25],
[30,31,32,33],
[6,15,24,33],
[6,15,24,33],
[6,15,24,33],
],
hideIndexs: [
[6,15],
[30,31],
[6,15],
[6,15],
[24,33],
],
handIndexs: [
[24,25],
[32,33],
[24,33],
[24,33],
[6,15],
],
msg: [
"樱花引导1",
"樱花引导2",
"樱花引导3",
"樱花引导4",
"樱花引导5"
]
},
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment