|
@@ -160,7 +160,7 @@ cc.Class({
|
|
.repeatForever()
|
|
.repeatForever()
|
|
.start()
|
|
.start()
|
|
}
|
|
}
|
|
- this.totalTimes = 0;
|
|
|
|
|
|
+ this.totalTimes = 1;
|
|
let preDel = 0.3;
|
|
let preDel = 0.3;
|
|
cc.tween(this.node)
|
|
cc.tween(this.node)
|
|
.delay(3.6)
|
|
.delay(3.6)
|
|
@@ -197,7 +197,7 @@ cc.Class({
|
|
|
|
|
|
let yy = rollbg.y;
|
|
let yy = rollbg.y;
|
|
let desIdx = Math.floor(yy/-this.sizec/1.2);
|
|
let desIdx = Math.floor(yy/-this.sizec/1.2);
|
|
- this.totalTimes += this.iconTimes[this._rollResultData[idx]];
|
|
|
|
|
|
+ this.totalTimes *= this.iconTimes[this._rollResultData[idx]];
|
|
let val = GameProtocol.NORMAL_ITEM_COUNT + this._rollResultData[idx];
|
|
let val = GameProtocol.NORMAL_ITEM_COUNT + this._rollResultData[idx];
|
|
this.elementJS[idx][desIdx+2].setValue(val, this.gameMainJS.getItemSpineData(val), false);
|
|
this.elementJS[idx][desIdx+2].setValue(val, this.gameMainJS.getItemSpineData(val), false);
|
|
let dy = (desIdx+2)*-this.sizec*1.2;
|
|
let dy = (desIdx+2)*-this.sizec*1.2;
|