|
@@ -8134,6 +8134,7 @@ var e = gData.gameData.getProp(y.GameProp.curTotalScore);
|
|
|
t.curGetScore = e;
|
|
t.curGetScore = e;
|
|
|
t.curProgressScore = e;
|
|
t.curProgressScore = e;
|
|
|
t.finalGetScore = e;
|
|
t.finalGetScore = e;
|
|
|
|
|
+console.log("score", e);
|
|
|
t.initView();
|
|
t.initView();
|
|
|
t.initEvent();
|
|
t.initEvent();
|
|
|
t.intervalShowGuide();
|
|
t.intervalShowGuide();
|
|
@@ -8583,7 +8584,7 @@ var t = gData.gameData.getProp(y.GameProp.levelNum);
|
|
|
mk.console.log("[Game]pass passLevelNum", t);
|
|
mk.console.log("[Game]pass passLevelNum", t);
|
|
|
n.Inst.ifGetPass = !0;
|
|
n.Inst.ifGetPass = !0;
|
|
|
gData.gameData.setProp(y.GameProp.levelNum, ++t);
|
|
gData.gameData.setProp(y.GameProp.levelNum, ++t);
|
|
|
-if (!mk.ui.getCurOnPanel("rewardLuck")) {
|
|
|
|
|
|
|
+if (!(mk.ui.getCurOnPanel("rewardLuck") || this.finalGetScore >= this.targetScore)) {
|
|
|
this.gameCount();
|
|
this.gameCount();
|
|
|
console.log("gData.gameData.getProp(GameProp.levelNum)", gData.gameData.getProp(y.GameProp.levelNum));
|
|
console.log("gData.gameData.getProp(GameProp.levelNum)", gData.gameData.getProp(y.GameProp.levelNum));
|
|
|
}
|
|
}
|
|
@@ -10089,10 +10090,12 @@ height: u
|
|
|
}
|
|
}
|
|
|
if (null != this.crtGuide.dialog_pos && this.crtGuide.dialog_pos.length > 0) {
|
|
if (null != this.crtGuide.dialog_pos && this.crtGuide.dialog_pos.length > 0) {
|
|
|
r = this.crtGuide.dialog_pos.split(":");
|
|
r = this.crtGuide.dialog_pos.split(":");
|
|
|
-for (var p = this.node_dialog.getComponent(cc.Widget), d = 0; d < this.widgets.length; d++) p[this.widgets[d]] = "" == r[d] ? null : parseInt(r[d]);
|
|
|
|
|
|
|
+(d = this.node_dialog.getComponent(cc.Widget)).enabled = !0;
|
|
|
|
|
+for (var p = 0; p < this.widgets.length; p++) d[this.widgets[p]] = "" == r[p] ? null : parseInt(r[p]);
|
|
|
} else {
|
|
} else {
|
|
|
-for (r = this.crtGuide.dialog_pos1.split(","), p = this.node_dialog.getComponent(cc.Widget),
|
|
|
|
|
-d = 0; d < this.widgets.length; d++) p[this.widgets[d]] = null;
|
|
|
|
|
|
|
+var d;
|
|
|
|
|
+r = this.crtGuide.dialog_pos1.split(",");
|
|
|
|
|
+(d = this.node_dialog.getComponent(cc.Widget)).enabled = !1;
|
|
|
this.node_dialog.x = n + parseInt(r[0]);
|
|
this.node_dialog.x = n + parseInt(r[0]);
|
|
|
this.node_dialog.y = o + parseInt(r[1]);
|
|
this.node_dialog.y = o + parseInt(r[1]);
|
|
|
}
|
|
}
|
|
@@ -16534,10 +16537,7 @@ e.clickNextMission();
|
|
|
}
|
|
}
|
|
|
}) : mk.ad.watchAd(function(t) {
|
|
}) : mk.ad.watchAd(function(t) {
|
|
|
mk.console.log("watchAD:" + t);
|
|
mk.console.log("watchAD:" + t);
|
|
|
-if (t) {
|
|
|
|
|
-gData.adData.watchVideo(2 === gData.reward.subType ? u.AdFun.checkpoint : u.AdFun.bubble);
|
|
|
|
|
-gData.reward.subType = null;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+t && gData.adData.watchVideo(2 === gData.reward.subType ? u.AdFun.checkpoint : u.AdFun.bubble);
|
|
|
});
|
|
});
|
|
|
return [ 2 ];
|
|
return [ 2 ];
|
|
|
}
|
|
}
|