本文最后更新于 644 天前,其中的信息可能已经有所发展或是发生改变。
6.1更新的PVP模式还是挺好玩的,高分段大家似乎都在用科技,只能说打不过就加入
不得不说Cactbot文档其实写的不是很好,当然也可能是我没学过JavaScript的原因,很多api不清不楚的,全靠搜索功能依葫芦画瓢。
不想使用全局匹配的话,把MatchAll替换成CrystallineConflictCustomMatchCloudNine,CrystallineConflictCustomMatchThePalaistra和CrystallineConflictCustomMatchTheVolcanicHeart,分三个文件保存即可。
自定义的触发器路径为cactbot\user\raidboss
Options.Triggers.push({
zoneId: ZoneId.MatchAll,
timeline: [],
timelineTriggers: [],
triggers: [
{
id: "PVP龙骑LB提示",
netRegex: NetRegexes.ability({ id: '7339' }),
condition: (data, matches)=>{
return data.party.inParty(matches.source) === false;
},
alarmText: '龙骑LB',
},
{
id: "PVP武士地天提示",
netRegex: NetRegexes.ability({ id: '735D' }),
condition: (data, matches)=>{
return data.party.inParty(matches.source) === false;
},
alarmText: '武士地天',
tts: '武士帝天',
},
{
id: "PVP机工狙击提示",
netRegex: NetRegexes.ability({ id: '72E7' }),
condition: (data, matches)=>{
return data.me === matches.target;
},
alarmText: '被狙击',
},
],
});