Skip to content

Commit

Permalink
更新资源文件(锡人)/修bug (#644)
Browse files Browse the repository at this point in the history
* 更新资源文件(锡人)
删掉不必要的打印
修复错误估计的抽数 “额外+碎片+土”

* ruff格式
  • Loading branch information
fuyn101 authored Jul 16, 2024
1 parent 0f242e2 commit c101528
Show file tree
Hide file tree
Showing 16 changed files with 73 additions and 539 deletions.
2 changes: 1 addition & 1 deletion ArknightsGameResource
2 changes: 1 addition & 1 deletion arknights_mower/data/agent.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["芬", "梅", "宴", "砾", "孑", "吽", "红", "空", "黑", "W", "夕", "林", "令", "阿", "黍", "年", "山", "陈", "锏", "煌", "夜刀", "黑角", "杜林", "香草", "翎羽", "卡缇", "斑点", "炎熔", "芙蓉", "梓兰", "夜烟", "远山", "卡达", "深靛", "布丁", "流星", "红云", "白雪", "松果", "酸糖", "铅踝", "跃跃", "讯使", "红豆", "豆苗", "杜宾", "缠丸", "霜叶", "慕斯", "刻刀", "芳汀", "石英", "暗索", "末药", "清流", "褐果", "角峰", "泡泡", "露托", "古米", "坚雷", "地灵", "伊桑", "阿消", "维荻", "微风", "凛冬", "贾维", "青枳", "红隼", "苇草", "野鬃", "极境", "万顷", "夜半", "渡桥", "晓歌", "谜图", "鞭刃", "苍苔", "医生", "炎客", "摩根", "燧石", "断崖", "烈夏", "铎铃", "柏喙", "战车", "星极", "铸铁", "赤冬", "海沫", "奥达", "蓝毒", "白金", "灰喉", "四月", "隐现", "陨星", "慑砂", "截云", "苦艾", "雪绒", "天火", "惊蛰", "星源", "蜜蜡", "寒檀", "薄绿", "和弦", "蚀清", "耶拉", "洛洛", "至简", "折光", "温米", "梅尔", "稀音", "赫默", "亚叶", "锡兰", "絮雨", "图耶", "桑葚", "蜜莓", "刺玫", "明椒", "临光", "深律", "槐琥", "乌有", "雷蛇", "深巡", "可颂", "拜松", "火神", "石棉", "暮落", "闪击", "暴雨", "灰毫", "火哨", "极光", "洋灰", "玫拉", "子月", "熔泉", "冰酿", "空构", "崖心", "雪雉", "杏仁", "初雪", "巫恋", "海霓", "真理", "但书", "小满", "掠风", "海蒂", "月禾", "夏栎", "凛视", "狮蝎", "绮良", "罗宾", "霜华", "贝娜", "风丸", "双月", "空弦", "灰烬", "鸿雪", "远牙", "早露", "提丰", "莱伊", "风笛", "嵯峨", "琴柳", "焰尾", "伺夜", "异客", "澄闪", "黑键", "妮芙", "灵知", "铃兰", "魔王", "白铁", "塑心", "傀影", "老鲤", "温蒂", "水月", "艾拉", "闪灵", "夜莺", "流明", "星熊", "瑕光", "泥岩", "斥罪", "森蚺", "号角", "重岳", "银灰", "棘刺", "仇白", "左乐", "止颂", "暴行", "空爆", "猎蜂", "杰克", "夜魔", "巡林者", "12F", "玫兰莎", "泡普卡", "米格鲁", "克洛丝", "安赛尔", "格雷伊", "杰西卡", "安比尔", "清道夫", "桃金娘", "断罪者", "罗小黑", "休谟斯", "嘉维尔", "苏苏洛", "调香师", "蛇屠箱", "深海色", "波登可", "白面鸮", "诗怀雅", "芙兰卡", "因陀罗", "达格达", "幽灵鲨", "布洛卡", "导火索", "羽毛笔", "龙舌兰", "送葬人", "奥斯塔", "阿米娅", "特米米", "爱丽丝", "戴菲恩", "阿罗玛", "华法琳", "哈洛德", "卡夫卡", "车尔尼", "守林人", "安哲拉", "埃拉托", "九色鹿", "食铁兽", "见行者", "能天使", "迷迭香", "伊内丝", "刻俄柏", "逻各斯", "麦哲伦", "多萝西", "凯尔希", "塞雷娅", "赫德雷", "艾丽妮", "赫拉格", "帕拉斯", "玛恩纳", "月见夜", "格拉尼", "斯卡蒂", "安德切尔", "史都华德", "艾丝黛尔", "罗比菈塔", "德克萨斯", "拉普兰德", "莱恩哈特", "炎狱炎熔", "濯尘芙蓉", "普罗旺斯", "格劳克斯", "菲亚梅塔", "维什戴尔", "推进之王", "缪尔赛思", "伊芙利特", "莫斯提马", "艾雅法拉", "霍尔海雅", "卡涅利安", "安洁莉娜", "淬羽赫默", "歌蕾蒂娅", "阿斯卡纶", "焰影苇草", "乌尔比安", "史尔特尔", "薇薇安娜", "正义骑士号", "历阵锐枪芬", "火龙S黑角", "寒芒克洛丝", "承曦格雷伊", "假日威龙陈", "浊心斯卡蒂", "麒麟R夜刀", "琳琅诗怀雅", "归溟幽灵鲨", "涤火杰西卡", "百炼嘉维尔", "耀骑士临光", "圣约送葬人", "缄默德克萨斯", "纯烬艾雅法拉", "THRM-EX", "泰拉大陆调查团", "Lancet-2", "Castle-3", "PhonoR-0", "Friston-3", "U-Official"]
["芬", "梅", "宴", "砾", "孑", "吽", "红", "空", "黑", "W", "夕", "林", "令", "阿", "黍", "年", "山", "陈", "锏", "煌", "夜刀", "黑角", "杜林", "香草", "翎羽", "卡缇", "斑点", "炎熔", "芙蓉", "梓兰", "夜烟", "远山", "卡达", "深靛", "布丁", "流星", "红云", "白雪", "松果", "酸糖", "铅踝", "跃跃", "讯使", "红豆", "豆苗", "杜宾", "缠丸", "霜叶", "慕斯", "刻刀", "芳汀", "石英", "暗索", "末药", "清流", "褐果", "角峰", "泡泡", "露托", "古米", "坚雷", "地灵", "伊桑", "阿消", "维荻", "微风", "凛冬", "贾维", "青枳", "红隼", "苇草", "野鬃", "极境", "万顷", "夜半", "渡桥", "晓歌", "谜图", "鞭刃", "苍苔", "医生", "炎客", "摩根", "燧石", "断崖", "烈夏", "铎铃", "柏喙", "战车", "星极", "铸铁", "赤冬", "海沫", "奥达", "蓝毒", "白金", "灰喉", "四月", "隐现", "陨星", "慑砂", "截云", "苦艾", "雪绒", "天火", "惊蛰", "星源", "蜜蜡", "寒檀", "薄绿", "和弦", "蚀清", "耶拉", "洛洛", "至简", "折光", "温米", "梅尔", "稀音", "赫默", "亚叶", "锡兰", "絮雨", "图耶", "桑葚", "蜜莓", "刺玫", "明椒", "临光", "深律", "槐琥", "乌有", "雷蛇", "深巡", "可颂", "拜松", "火神", "石棉", "暮落", "闪击", "暴雨", "灰毫", "火哨", "极光", "洋灰", "玫拉", "子月", "熔泉", "冰酿", "空构", "崖心", "雪雉", "杏仁", "初雪", "巫恋", "海霓", "真理", "但书", "小满", "掠风", "海蒂", "月禾", "夏栎", "凛视", "狮蝎", "绮良", "罗宾", "霜华", "贝娜", "风丸", "双月", "锡人", "空弦", "灰烬", "鸿雪", "远牙", "早露", "提丰", "莱伊", "风笛", "嵯峨", "琴柳", "焰尾", "伺夜", "异客", "澄闪", "黑键", "妮芙", "灵知", "铃兰", "魔王", "白铁", "塑心", "傀影", "老鲤", "温蒂", "水月", "艾拉", "闪灵", "夜莺", "流明", "星熊", "瑕光", "泥岩", "斥罪", "森蚺", "号角", "重岳", "银灰", "棘刺", "仇白", "左乐", "止颂", "暴行", "空爆", "猎蜂", "杰克", "夜魔", "巡林者", "12F", "玫兰莎", "泡普卡", "米格鲁", "克洛丝", "安赛尔", "格雷伊", "杰西卡", "安比尔", "清道夫", "桃金娘", "断罪者", "罗小黑", "休谟斯", "嘉维尔", "苏苏洛", "调香师", "蛇屠箱", "深海色", "波登可", "白面鸮", "诗怀雅", "芙兰卡", "因陀罗", "达格达", "幽灵鲨", "布洛卡", "导火索", "羽毛笔", "龙舌兰", "送葬人", "奥斯塔", "阿米娅", "特米米", "爱丽丝", "戴菲恩", "阿罗玛", "华法琳", "哈洛德", "卡夫卡", "车尔尼", "守林人", "安哲拉", "埃拉托", "九色鹿", "食铁兽", "见行者", "能天使", "迷迭香", "伊内丝", "刻俄柏", "逻各斯", "麦哲伦", "多萝西", "凯尔希", "塞雷娅", "赫德雷", "艾丽妮", "赫拉格", "帕拉斯", "玛恩纳", "月见夜", "格拉尼", "斯卡蒂", "安德切尔", "史都华德", "艾丝黛尔", "罗比菈塔", "德克萨斯", "拉普兰德", "莱恩哈特", "炎狱炎熔", "濯尘芙蓉", "普罗旺斯", "格劳克斯", "菲亚梅塔", "维什戴尔", "推进之王", "缪尔赛思", "伊芙利特", "莫斯提马", "艾雅法拉", "霍尔海雅", "卡涅利安", "安洁莉娜", "淬羽赫默", "歌蕾蒂娅", "阿斯卡纶", "焰影苇草", "乌尔比安", "史尔特尔", "薇薇安娜", "正义骑士号", "历阵锐枪芬", "火龙S黑角", "寒芒克洛丝", "承曦格雷伊", "假日威龙陈", "浊心斯卡蒂", "麒麟R夜刀", "琳琅诗怀雅", "归溟幽灵鲨", "涤火杰西卡", "百炼嘉维尔", "耀骑士临光", "圣约送葬人", "缄默德克萨斯", "纯烬艾雅法拉", "THRM-EX", "泰拉大陆调查团", "Lancet-2", "Castle-3", "PhonoR-0", "Friston-3", "U-Official"]
14 changes: 14 additions & 0 deletions arknights_mower/data/key_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -6425,6 +6425,20 @@
"MATERIAL",
700148
],
"p_char_4151_tinman": [
"p_char_4151_tinman",
"p_char_4151_tinman",
"锡人的信物",
"MATERIAL",
700149
],
"锡人的信物": [
"p_char_4151_tinman",
"p_char_4151_tinman",
"锡人的信物",
"MATERIAL",
700149
],
"p_char_103_angel": [
"p_char_103_angel",
"p_char_103_angel",
Expand Down
Binary file modified arknights_mower/models/CONSUME.pkl
Binary file not shown.
Binary file modified arknights_mower/models/NORMAL.pkl
Binary file not shown.
Binary file modified arknights_mower/models/avatar.pkl
Binary file not shown.
Binary file modified arknights_mower/models/operator_room.model
Binary file not shown.
Binary file modified arknights_mower/models/operator_select.model
Binary file not shown.
4 changes: 1 addition & 3 deletions arknights_mower/solvers/cultivate_depot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import requests

from arknights_mower.utils.log import logger
# from arknights_mower.utils.log import logger
from arknights_mower.utils.path import get_path

app_code = "4ca99fa6b56cc2ba"
Expand Down Expand Up @@ -66,8 +66,6 @@ def start(self):
if item["isCheck"]:
self.save_param(self.get_cred_by_token(self.log(item)))
for i in self.get_binding_list():
logger.info(item)
logger.info(i)
if item["cultivate_select"] == i.get("isOfficial"):
body = {"gameId": 1, "uid": i.get("uid")}
ingame = f"https://zonai.skland.com/api/v1/game/cultivate/player?uid={i.get('uid')}"
Expand Down
3 changes: 2 additions & 1 deletion arknights_mower/utils/depot.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,10 @@ def 读取仓库():
"sort": 9999999,
"icon": "寻访凭证",
}
待定碎片 = int( / 2)
classified_data["A常用"]["额外+碎片+土"] = {
"number": round(
(合成玉数量 + 源石数量 * 180 + int(源石碎片 / 2 + int( / 2)) * 20) / 600
(合成玉数量 + 源石数量 * 180 + int((源石碎片 + 待定碎片) / 2) * 20) / 600
+ 寻访凭证数量,
1,
),
Expand Down
Binary file added ui/public/avatar/锡人.webp
Binary file not shown.
Binary file added ui/public/building_skill/bskill_hire_spd&dorm1.webp
Binary file not shown.
Binary file added ui/public/building_skill/bskill_hire_spd&dorm2.webp
Binary file not shown.
Binary file added ui/public/depot/锡人的信物.webp
Binary file not shown.
73 changes: 54 additions & 19 deletions ui/src/pages/skill.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"key": 333,
"key": 334,
"name": "渡桥",
"span": 2,
"child_skill": [
Expand Down Expand Up @@ -34,6 +34,41 @@
}
]
},
{
"key": 333,
"name": "锡人",
"span": 2,
"child_skill": [
{
"skill_key": 0,
"skill_level": 0,
"phase_level": "精0 1级",
"skillname": "梅兰德侦探·α",
"buffer": false,
"buffer_des": [],
"des": "进驻人力办公室时,人脉资源的联络速度<@cc.vup>+5%</>,每间宿舍每级额外<@cc.vup>+1%</>人脉资源的联络速度",
"roomType": "人力办公室",
"buffCategory": "FUNCTION",
"skillIcon": "bskill_hire_spd&dorm1",
"buffColor": "#565656",
"textColor": "#ffffff"
},
{
"skill_key": 0,
"skill_level": 1,
"phase_level": "精2 1级",
"skillname": "梅兰德侦探·β",
"buffer": false,
"buffer_des": [],
"des": "进驻人力办公室时,人脉资源的联络速度<@cc.vup>+5%</>,每间宿舍每级额外<@cc.vup>+2%</>人脉资源的联络速度",
"roomType": "人力办公室",
"buffCategory": "FUNCTION",
"skillIcon": "bskill_hire_spd&dorm2",
"buffColor": "#565656",
"textColor": "#ffffff"
}
]
},
{
"key": 332,
"name": "妮芙",
Expand Down Expand Up @@ -386,8 +421,8 @@
"skillname": "巴别塔之帜",
"buffer": true,
"buffer_des": [
"cc_c_room2",
"cc_c_sui2_1"
"cc_c_sui2_1",
"cc_c_room2"
],
"des": "进驻控制中枢时,<$cc.c.room2><@cc.kw>其他设施</></>内处于工作状态的干员心情每小时恢复<@cc.vup>+0.1</>,当<@cc.kw>魔王</>进驻中枢时额外<@cc.vup>+0.1</>(与控制中枢加成有<$cc.c.sui2_1><@cc.rem>特殊比较规则</></>)",
"roomType": "中枢",
Expand Down Expand Up @@ -2720,9 +2755,9 @@
"skillname": "孤光共照",
"buffer": true,
"buffer_des": [
"cc_c_sui2_1",
"cc_bd_b1",
"cc_c_room2",
"cc_c_sui2_1"
"cc_c_room2"
],
"des": "进驻控制中枢时,<$cc.c.room2><@cc.kw>其他设施</></>内处于工作状态的干员心情每小时恢复<@cc.vup>+0.05</>;同时每有<@cc.vup>20</>点<$cc.bd_b1><@cc.rem>人间烟火</></>,则额外<@cc.vup>+0.05</>,(与控制中枢加成有<$cc.c.sui2_1><@cc.rem>特殊比较规则</></>)",
"roomType": "中枢",
Expand Down Expand Up @@ -3368,9 +3403,9 @@
"skillname": "公事公办",
"buffer": true,
"buffer_des": [
"cc_c_skill",
"cc_c_room2",
"cc_c_room1",
"cc_c_room2"
"cc_c_skill"
],
"des": "进驻控制中枢时,<$cc.c.room1><@cc.kw>部分设施</></>内处于工作状态的干员心情每小时恢复<@cc.vup>+0.1</>;同时控制中枢内<$cc.c.skill><@cc.kw>部分技能</></>可以为<$cc.c.room2><@cc.kw>其他设施</></>内处于工作状态的干员额外提供心情恢复",
"roomType": "中枢",
Expand Down Expand Up @@ -3499,8 +3534,8 @@
"skillname": "际崖居民",
"buffer": true,
"buffer_des": [
"cc_tag_durin",
"cc_t_flow_gold"
"cc_t_flow_gold",
"cc_tag_durin"
],
"des": "进驻贸易站时,基建内每<@cc.kw>1</>名<$cc.tag.durin><@cc.kw>杜林族</></>干员(最多<@cc.kw>4</>名)为当前贸易站提供<@cc.kw>1</>条<$cc.t.flow_gold><@cc.kw>赤金生产线</></>",
"roomType": "贸易站",
Expand Down Expand Up @@ -3697,8 +3732,8 @@
"skillname": "琴键漫步",
"buffer": true,
"buffer_des": [
"cc_bd_a1",
"cc_bd_a1_a3"
"cc_bd_a1_a3",
"cc_bd_a1"
],
"des": "进驻宿舍时,每<@cc.vup>1</>个<$cc.bd_a1_a3><@cc.rem>小节</></>转化为<@cc.vup>1</>点<$cc.bd_a1><@cc.rem>感知信息</></>",
"roomType": "宿舍",
Expand Down Expand Up @@ -3758,8 +3793,8 @@
"skillname": "乐感",
"buffer": true,
"buffer_des": [
"cc_bd_a1",
"cc_bd_B"
"cc_bd_B",
"cc_bd_a1"
],
"des": "进驻贸易站时,宿舍内每有<@cc.kw>1</>名干员则<$cc.bd_a1><@cc.rem>感知信息</></><@cc.vup>+1</>,同时每<@cc.vup>1</>点<$cc.bd_a1><@cc.rem>感知信息</></>转化为<@cc.vup>1</>点<$cc.bd_B><@cc.rem>无声共鸣</></>",
"roomType": "贸易站",
Expand Down Expand Up @@ -4455,8 +4490,8 @@
"skillname": "“山河远阔”",
"buffer": true,
"buffer_des": [
"cc_bd_a1",
"cc_bd_b1"
"cc_bd_b1",
"cc_bd_a1"
],
"des": "进驻控制中枢时,当自身心情大于<@cc.kw>12</>时,<$cc.bd_b1><@cc.rem>人间烟火</></><@cc.vup>+15</>;当自身心情处于<@cc.kw>12</>以下时,<$cc.bd_a1><@cc.rem>感知信息</></><@cc.vup>+10</>",
"roomType": "中枢",
Expand Down Expand Up @@ -5562,8 +5597,8 @@
"skillname": "集群狩猎·α",
"buffer": true,
"buffer_des": [
"cc_g_abyssal",
"cc_c_abyssal2_3",
"cc_g_abyssal",
"cc_c_abyssal2_1"
],
"des": "进驻控制中枢时,控制中枢内所有干员的心情每小时恢复<@cc.vup>+0.05</>;基建内<$cc.g.abyssal><@cc.kw>深海猎人</></>干员获得<$cc.c.abyssal2_1><@cc.rem>特殊加成</></>(与部分技能有<$cc.c.abyssal2_3><@cc.rem>特殊叠加规则</></>)",
Expand All @@ -5580,8 +5615,8 @@
"skillname": "集群狩猎·β",
"buffer": true,
"buffer_des": [
"cc_g_abyssal",
"cc_c_abyssal2_3",
"cc_g_abyssal",
"cc_c_abyssal2_2"
],
"des": "进驻控制中枢时,控制中枢内所有干员的心情每小时恢复<@cc.vup>+0.05</>;基建内<$cc.g.abyssal><@cc.kw>深海猎人</></>干员获得<$cc.c.abyssal2_2><@cc.rem>特殊加成</></>(与部分技能有<$cc.c.abyssal2_3><@cc.rem>特殊叠加规则</></>)",
Expand Down Expand Up @@ -6470,8 +6505,8 @@
"skillname": "追忆",
"buffer": true,
"buffer_des": [
"cc_bd_a1",
"cc_bd_a1_a1"
"cc_bd_a1_a1",
"cc_bd_a1"
],
"des": "进驻人力办公室时,每<@cc.vup>1</>点<$cc.bd_a1_a1><@cc.rem>记忆碎片</></>转化为<@cc.vup>1</>点<$cc.bd_a1><@cc.rem>感知信息</></>,心情耗尽时清空所有<$cc.bd_a1_a1><@cc.rem>记忆碎片</></>和自身累积的<$cc.bd_a1><@cc.rem>感知信息</></>",
"roomType": "人力办公室",
Expand Down
Loading

0 comments on commit c101528

Please sign in to comment.