mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2025-01-06 23:51:09 +08:00
更新部分内容
This commit is contained in:
parent
c37b940289
commit
7349aa021d
@ -80,9 +80,9 @@ export async function weaponInfo(e) {
|
|||||||
if (e.atBot) {
|
if (e.atBot) {
|
||||||
msg = "#" + msg.replace("#", "");
|
msg = "#" + msg.replace("#", "");
|
||||||
}
|
}
|
||||||
if (!/(#*(.*)(信息|图鉴|突破)|#(.*))$/.test(msg)) return;
|
if (!/(#*(.*)(信息|图鉴|突破|武器|材料)|#(.*))$/.test(msg)) return;
|
||||||
|
|
||||||
let name = weapon.get(msg.replace(/#|#|信息|图鉴|突破/g, ""));
|
let name = weapon.get(msg.replace(/#|#|信息|图鉴|突破|武器|材料/g, ""));
|
||||||
|
|
||||||
if (name) {
|
if (name) {
|
||||||
send_Msg(e, "wuqi_tujian", name)
|
send_Msg(e, "wuqi_tujian", name)
|
||||||
@ -130,7 +130,6 @@ export async function monsterInfo(e) {
|
|||||||
}
|
}
|
||||||
if (!/(#*(原魔|怪物)(.*)|#(.*))$/.test(msg)) return;
|
if (!/(#*(原魔|怪物)(.*)|#(.*))$/.test(msg)) return;
|
||||||
let name = msg.replace(/#|#|信息|副本|本|图鉴|数据|原魔/g, "");
|
let name = msg.replace(/#|#|信息|副本|本|图鉴|数据|原魔/g, "");
|
||||||
console.log(name)
|
|
||||||
if (name) {
|
if (name) {
|
||||||
send_Msg(e, "yuanmo_tujian", name)
|
send_Msg(e, "yuanmo_tujian", name)
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user