|
|
@@ -2103,9 +2103,15 @@ t.prototype.showInterAd = function(t) {
|
|
|
this.ifShowAd && this.adSdk.showInter(t);
|
|
|
};
|
|
|
t.prototype.checkShowInterByChance = function() {
|
|
|
+var t = this;
|
|
|
if (this.ifShowAd && gData.gameData.adShowConfig) {
|
|
|
-var t = gData.gameData.configs.ServerConfig.interOpenChance;
|
|
|
-Math.random() <= t ? this.showInterAd(0) : gData.moreGame.popMoreGamePopNode();
|
|
|
+var e = gData.gameData.configs.ServerConfig.interOpenChance;
|
|
|
+if (Math.random() <= e) {
|
|
|
+var n = gData.gameData.configs.ServerConfig.interOpenDelayMin + Math.random() * (gData.gameData.configs.ServerConfig.interOpenDelayMax - gData.gameData.configs.ServerConfig.interOpenDelayMin);
|
|
|
+setTimeout(function() {
|
|
|
+t.showInterAd(0);
|
|
|
+}, 1e3 * n);
|
|
|
+} else gData.moreGame.popMoreGamePopNode();
|
|
|
}
|
|
|
};
|
|
|
return t;
|
|
|
@@ -10636,7 +10642,7 @@ value: !0
|
|
|
n.ServerUrl = n.HttpData = void 0;
|
|
|
var o, i = function() {
|
|
|
function t() {
|
|
|
-this.serverType = 0;
|
|
|
+this.serverType = 1;
|
|
|
}
|
|
|
t.prototype.getServerUrl = function() {
|
|
|
switch (this.serverType) {
|
|
|
@@ -11203,7 +11209,7 @@ value: !0
|
|
|
n.LogTagColor = void 0;
|
|
|
var i, a = function() {
|
|
|
function t() {
|
|
|
-this.ifShowLog = !0;
|
|
|
+this.ifShowLog = !1;
|
|
|
this._tagChar = "...";
|
|
|
this._frontChar = " ";
|
|
|
this._keyValueChar = " = ";
|