Commit 7618562a by kaisa

feat:火箭上升音效

parent 7256500c
Showing with 4 additions and 2 deletions
......@@ -482,7 +482,7 @@
}
}, 70)
}
function boomShow() {
function boomShow(data) {
rocketStop();
var boomNum = 252
$(".fly").fadeOut(350)
......@@ -496,12 +496,14 @@
$(".boomShow").hide()
}
}, 70)
layer.msg('betLose')
// 用户参与了但是没跳船成功
if (
data.result.userData.player == 1 &&
data.result.userData.jumper != 1
) {
layer.msg('betLose')
betLose();
}
}
......@@ -700,7 +702,7 @@
betBoom();
//这时候爆炸了
$(".out-fly-box >div").unbind("click").css("filter", "grayscale(100%)")
boomShow()
boomShow(data)
} else {
if (data.result.shipData.explosion == 1) return;
clearInterval(miTimer)
......
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 sign in to comment