【神奇弹幕】大乱斗信息播报助手

2021-05-14 16:22:39

使用神奇弹幕打造全套大乱斗信息播报机器人,实现以下功能:

  • 感谢最佳助攻

  • 离大乱斗结束还有30秒

  • 匹配到主播粉丝数、舰长数等

  • 对面在线舰长数量

  • 视频大乱斗发送匹配次数至对面直播间

  • 大乱斗结束时在对面说再见


[
    {
        "action": "[%level%>0,%gift_coin%>500]感谢%uname%帮忙打大乱斗!",
        "anchor_key": "神奇弹幕:EventAction",
        "enabled": true,
        "event": "PK_BEST_UNAME"
    },
    {
        "action": ">timerShot(265000, 离大乱斗结束还有30秒)",
        "anchor_key": "神奇弹幕:EventAction",
        "enabled": true,
        "event": "PK_BATTLE_START"
    },
    {
        "action": "匹配到:%>simpleName(%.anchor_info.base_info.uname%)%,%>simpleNum(%.guard_info.count%)%船,%>simpleNum(%.anchor_info.relation_info.attention%)%粉",
        "anchor_key": "神奇弹幕:EventAction",
        "enabled": true,
        "event": "PK_MATCH_INFO"
    },
    {
        "action": "[%number%>20]*危!对面在线舰长数量:%number%\n[%number%>2, %.guard1%>2]**危,这把认怂~\n对面在线舰长数量:%number%",
        "anchor_key": "神奇弹幕:EventAction",
        "enabled": true,
        "event": "PK_MATCH_ONLINE_GUARD"
    },
    {
        "action": "[%pk_video%]>timerShot(3000, >sendRoomMsg(%pk_room_id%, 嗨,这是大家和%up_name%的第%pk_count%次见面~))",
        "anchor_key": "神奇弹幕:EventAction",
        "enabled": true,
        "event": "PK_BATTLE_START"
    },
    {
        "action": "[%pk_video%]>sendRoomMsg(%pk_room_id%, 大乱斗结束啦,期待大家与%up_name%的下次见面~)",
        "anchor_key": "神奇弹幕:EventAction",
        "enabled": true,
        "event": "PK_ENDING"
    }
]