优化击剑

master
chen 2021-12-07 13:55:56 +08:00
parent da0b1dc2b8
commit 1464b529b2
1 changed files with 4 additions and 24 deletions

View File

@ -179,14 +179,7 @@ function receiveMessage(event)
leaderInfo = highList[0]
}
// leaderInfo = '内有猛犬小心'
<<<<<<< HEAD
// leaderInfo = '饺子吃肉肉'
=======
<<<<<<< HEAD
leaderInfo = '饺子吃肉肉'
=======
>>>>>>> c5fcb3d64edf80504ff6eccb40845e6e67a9b71e
>>>>>>> 41a44859b9fcbc567c4e2c148584eb120ba9900e
// uid是否存在 不存在则存入uidObj
let isNew = 0
@ -312,11 +305,11 @@ function receiveMessage(event)
},6000)
}
if(peopleFluo(leader.text)){
$('.stick').removeClass('stick-swing');
$('.stick').addClass(getFluoEvent(dm.text));
$('.leading .stick').removeClass('stick-swing');
$('.leading .stick').addClass(getFluoEvent(dm.text));
setTimeout(()=>{
$('.stick').removeClass(getFluoEvent(dm.text));
$('.stick').addClass('stick-swing');
$('.leading .stick').removeClass(getFluoEvent(dm.text));
$('.leading .stick').addClass('stick-swing');
},6000)
}
setTimeout(()=>{
@ -348,19 +341,6 @@ function receiveMessage(event)
// }
// }
}
<<<<<<< HEAD
// 领舞喊荧光棒事件
// if(getLeaderFluoEvent(leader.text)!=''){
// if(firTimes==0){//防多次说话
// firTimes++;
// console.log(getLeaderFluoEvent(leader.text));
// setTimeout(()=>{
// firTimes = 0;
// },5000)
// }
// }
=======
>>>>>>> c5fcb3d64edf80504ff6eccb40845e6e67a9b71e
}
// -------------------- 每条弹幕处理 end -----------------------
}