2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00

优化星铁图鉴匹配机制

This commit is contained in:
ctrlcvs 2023-06-06 13:16:13 +08:00
parent ff6d0dff37
commit 7fce2a29fc
2 changed files with 50 additions and 96 deletions

View File

@ -26,8 +26,9 @@ export async function GetData(e) {
let list = Data.readJSON(pathPlus, 'weapon/data.json') let list = Data.readJSON(pathPlus, 'weapon/data.json')
let items = Data.readJSON(pathPlus, 'items/data.json') let items = Data.readJSON(pathPlus, 'items/data.json')
let role=GetRole(name) let role=GetRole(name)
if(!role) return false; if(role) {
name=role.name name=role.name
}
let roleData; let roleData;
let isUp=e.msg.includes('专武'); let isUp=e.msg.includes('专武');
lodash.forEach(list,(v,k)=>{ lodash.forEach(list,(v,k)=>{

View File

@ -25,8 +25,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -274,8 +273,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -1013,8 +1011,7 @@
"卡芙卡", "卡芙卡",
"瓦尔特", "瓦尔特",
"桑博", "桑博",
"佩拉", "佩拉"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -1261,8 +1258,7 @@
"suitRole": [ "suitRole": [
"布洛妮娅", "布洛妮娅",
"停云", "停云",
"艾丝妲", "艾丝妲"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -1510,8 +1506,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -1755,8 +1750,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -2003,8 +1997,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -2252,8 +2245,7 @@
"刃", "刃",
"克拉拉", "克拉拉",
"虎克", "虎克",
"阿兰", "阿兰"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -3220,8 +3212,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -3464,8 +3455,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -3712,8 +3702,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -4445,8 +4434,7 @@
"卡芙卡", "卡芙卡",
"瓦尔特", "瓦尔特",
"桑博", "桑博",
"佩拉", "佩拉"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -4688,8 +4676,7 @@
"suitRole": [ "suitRole": [
"布洛妮娅", "布洛妮娅",
"停云", "停云",
"艾丝妲", "艾丝妲"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -4937,8 +4924,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -5185,8 +5171,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"娜塔莎" "娜塔莎"
@ -5437,8 +5422,7 @@
"卡芙卡", "卡芙卡",
"瓦尔特", "瓦尔特",
"桑博", "桑博",
"佩拉", "佩拉"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"佩拉" "佩拉"
@ -5937,8 +5921,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"丹恒" "丹恒"
@ -6186,8 +6169,7 @@
"suitRole": [ "suitRole": [
"布洛妮娅", "布洛妮娅",
"停云", "停云",
"艾丝妲", "艾丝妲"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"布洛妮娅" "布洛妮娅"
@ -6684,8 +6666,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"黑塔" "黑塔"
@ -6938,8 +6919,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"娜塔莎" "娜塔莎"
@ -7190,8 +7170,7 @@
"卡芙卡", "卡芙卡",
"瓦尔特", "瓦尔特",
"桑博", "桑博",
"佩拉", "佩拉"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"桑博" "桑博"
@ -7691,8 +7670,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"素裳" "素裳"
@ -7942,8 +7920,7 @@
"suitRole": [ "suitRole": [
"布洛妮娅", "布洛妮娅",
"停云", "停云",
"艾丝妲", "艾丝妲"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"艾丝妲" "艾丝妲"
@ -8437,8 +8414,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"希露瓦" "希露瓦"
@ -8685,8 +8661,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"罗刹" "罗刹"
@ -8941,8 +8916,7 @@
"卡芙卡", "卡芙卡",
"瓦尔特", "瓦尔特",
"桑博", "桑博",
"佩拉", "佩拉"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"卢卡" "卢卡"
@ -9456,8 +9430,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -9702,8 +9675,7 @@
"suitRole": [ "suitRole": [
"布洛妮娅", "布洛妮娅",
"停云", "停云",
"艾丝妲", "艾丝妲"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -10200,8 +10172,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -10449,8 +10420,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"白露" "白露"
@ -10699,8 +10669,7 @@
"卡芙卡", "卡芙卡",
"瓦尔特", "瓦尔特",
"桑博", "桑博",
"佩拉", "佩拉"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"卡芙卡" "卡芙卡"
@ -11198,8 +11167,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"彦卿" "彦卿"
@ -11448,8 +11416,7 @@
"suitRole": [ "suitRole": [
"布洛妮娅", "布洛妮娅",
"停云", "停云",
"艾丝妲", "艾丝妲"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -11947,8 +11914,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -12198,8 +12164,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -12445,8 +12410,7 @@
"卡芙卡", "卡芙卡",
"瓦尔特", "瓦尔特",
"桑博", "桑博",
"佩拉", "佩拉"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -12935,8 +12899,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -13182,8 +13145,7 @@
"suitRole": [ "suitRole": [
"布洛妮娅", "布洛妮娅",
"停云", "停云",
"艾丝妲", "艾丝妲"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"停云" "停云"
@ -13685,8 +13647,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"青雀" "青雀"
@ -13936,8 +13897,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"姬子" "姬子"
@ -14186,8 +14146,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"希儿" "希儿"
@ -14704,8 +14663,7 @@
"suitRole": [ "suitRole": [
"布洛妮娅", "布洛妮娅",
"停云", "停云",
"艾丝妲", "艾丝妲"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"布洛妮娅" "布洛妮娅"
@ -14958,8 +14916,7 @@
"卡芙卡", "卡芙卡",
"瓦尔特", "瓦尔特",
"桑博", "桑博",
"佩拉", "佩拉"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"瓦尔特" "瓦尔特"
@ -15470,8 +15427,7 @@
"姬子", "姬子",
"青雀", "青雀",
"黑塔", "黑塔",
"希露瓦", "希露瓦"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"景元" "景元"
@ -15724,8 +15680,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [ "belongRole": [
"彦卿" "彦卿"
@ -15985,8 +15940,7 @@
"suitRole": [ "suitRole": [
"白露", "白露",
"娜塔莎", "娜塔莎",
"罗刹", "罗刹"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [
@ -16498,8 +16452,7 @@
"希儿", "希儿",
"彦卿", "彦卿",
"丹恒", "丹恒",
"素裳", "素裳"
"开拓者"
], ],
"belongRole": [], "belongRole": [],
"values": [ "values": [