出鞘名称更改为一起击剑

master
cp 2021-12-01 18:25:58 +08:00
parent dc828b09e0
commit 84c438bf06
1 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ let firTimes = 0;
function getEvent(name) { function getEvent(name) {
let map = { let map = {
'烟花':'fireworks', '烟花':'fireworks',
'出鞘':'stickcome', '一起击剑':'stickcome',
'起飞':'stickgo', '起飞':'stickgo',
'切歌' : 'change_song', '切歌' : 'change_song',
'跳' : 'dancing-down', '跳' : 'dancing-down',
@ -47,7 +47,7 @@ function getEvent(name) {
function getLeaderEvent(name) { function getLeaderEvent(name) {
let map = { let map = {
'烟花':'fireworks', '烟花':'fireworks',
'出鞘':'stickcome', '一起击剑':'stickcome',
'起飞':'stickgo', '起飞':'stickgo',
'切歌' : 'change_song', '切歌' : 'change_song',
'一起跳' : 'dancing-down', '一起跳' : 'dancing-down',
@ -296,8 +296,8 @@ function receiveMessage(event)
},6000) },6000)
} }
} }
//出鞘 //一起击剑
if(leader.text==="出鞘"){ if(leader.text==="一起击剑"){
if(firTimes==0){ if(firTimes==0){
firTimes++; firTimes++;
$('.stick').addClass('stickcome'); $('.stick').addClass('stickcome');