master
yin5th 2021-12-08 18:42:58 +08:00
parent 6e80e45b6e
commit dd4a8422c9
1 changed files with 6 additions and 2 deletions

View File

@ -11,7 +11,7 @@ let autoDel = false
let virtualPeople = true let virtualPeople = true
// 虚拟人物数量 // 虚拟人物数量
let virtualNum = 50 let virtualNum = 0
// 虚拟人物名字列表 // 虚拟人物名字列表
let virtualList = ['一只小绵飏','未来狗头耀武扬威什么','大牛逼玩意','长呆毛的呆猫','区实验川大聪明', let virtualList = ['一只小绵飏','未来狗头耀武扬威什么','大牛逼玩意','长呆毛的呆猫','区实验川大聪明',
@ -30,6 +30,7 @@ let virtualWordList = ['哈哈哈', '我又来了!', '大爷闪亮登场', '真
// 礼物所需电池 // 礼物所需电池
let giftObj = { let giftObj = {
'小心心': 9999,
'粉丝团灯牌': 1, '粉丝团灯牌': 1,
'牛哇牛哇': 1, '牛哇牛哇': 1,
'白银宝盒': 10, '白银宝盒': 10,
@ -226,9 +227,12 @@ function receiveMessage(event)
// 送礼物列表 // 送礼物列表
let giftList = dataList.gift let giftList = dataList.gift
console.log(giftList, '获取的礼物列表')
console.log(userCell, '用户电池记录1')
if (giftList.length > 0) { if (giftList.length > 0) {
updateUserCell(giftList) updateUserCell(giftList)
console.log(userCell, '用户电池记录') console.log(userCell, '用户电池记录2')
} }
// console.log(adminList, '舰长列表') // console.log(adminList, '舰长列表')