This commit is contained in:
2026-05-31 22:26:56 +08:00
parent 7de0a87f27
commit f824177aa5
7 changed files with 1909 additions and 12 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ async def get_skill_info(state: AltersDep, skillId: str, level: int, redis: Redi
"""
alter = state.alter
jobId = alter.split('.')[1]
jobGrowId = alter.split('.')[2]
jobGrowId = alter.split('.')[2].replace('_carry', '')
skill_info = {}
key = f'openapi:{jobId}:{jobGrowId}:{skillId}'
try:
File diff suppressed because it is too large Load Diff
+14 -2
View File
@@ -115,7 +115,7 @@ adv = [
'title': '神启·圣骑士',
'open': True,
'class': 'GF.priest_male.crusader_male',
# 'options': [{'id': 0, 'name': 'default', 'title': '奶', 'class': 'crusader_male'}, {'id': 1, 'name': 'default', 'title': '审判', 'class': 'crusader_male_carry'}],
'options': [{'id': 0, 'name': 'crusader_male', 'title': '奶', 'class': 'GF.priest_male.crusader_male'}, {'id': 1, 'name': 'crusader_male_carry', 'title': '审判', 'class': 'GF.priest_male.crusader_male_carry'}],
},
{'id': 1, 'name': 'infighter', 'title': '神启·蓝拳圣使', 'open': True, 'class': 'GF.priest_male.infighter'},
{'id': 2, 'name': 'exorcist', 'title': '神启·驱魔师', 'open': True, 'class': 'GF.priest_male.exorcist'},
@@ -139,7 +139,7 @@ adv = [
{'id': 1, 'name': 'inquistor', 'title': '神启·异端审判者', 'open': True, 'class': 'GF.priest_female.inquistor'},
{'id': 2, 'name': 'sorceress', 'title': '神启·巫女', 'open': True, 'class': 'GF.priest_female.sorceress'},
{'id': 3, 'name': 'mistress', 'title': '神启·诱魔者', 'open': True, 'class': 'GF.priest_female.mistress'},
{'id': 4, 'name': 'empty', 'title': ''},
{'id': 4, 'name': 'infighter_female', 'title': '神启·蓝拳圣使', 'open': False, 'class': 'GF.priest_female.infighter_female'},
],
},
{
@@ -202,6 +202,18 @@ adv = [
{'id': 4, 'name': 'chimera', 'title': '聆风·奇美拉', 'open': True, 'class': 'GF.archer.chimera'},
],
},
{
'id': 16,
'name': 'imperialknight',
'title': '帝国骑士',
'children': [
{'id': 0, 'name': 'breaker', 'title': '破浪者', 'open': False},
{'id': 1, 'name': 'empty', 'title': ''},
{'id': 2, 'name': 'empty', 'title': ''},
{'id': 3, 'name': 'empty', 'title': ''},
{'id': 4, 'name': 'empty', 'title': ''},
],
},
{
'id': 15,
'name': 'extra',
+9 -2
View File
@@ -10,11 +10,16 @@
@keyup.enter="onSubmit"
/>
<div class="flex justify-between w-64 mt-4">
<calc-button class="w-20 !h-8" @click="onSubmit">绑定</calc-button>
<calc-button class="w-20 !h-8" @click="onSubmit" :disabled="!isChecking">绑定</calc-button>
<calc-button class="w-20 !h-8" @click="onSeletRole">选择角色</calc-button>
</div>
<span class="text-white/50 mt-4"
>助手识别基于OCR,存在一定误差,导入后建议进行手动校对。</span
>助手识别基于后台模拟器图片识别,存在一定误差,导入后建议进行手动校对。</span
>
<calc-checkbox v-model="isChecking" class="mt-2 w-64"
><span>
我已同意计算器通过截图的方式<br />从DNF助手截图识别到助手ID公开的职业列表、角色打造信息
</span></calc-checkbox
>
</div>
</div>
@@ -34,4 +39,6 @@ const onSubmit = async (e: Event) => {
const onSeletRole = async () => {
await router.push({ path: '/' })
}
const isChecking = ref(false)
</script>
+5 -5
View File
@@ -9,11 +9,11 @@ const routes: RouteRecordRaw[] = [
name: 'home',
component: () => import('@/pages/Home/Index.vue'),
},
// {
// path: '/dnfhelper',
// name: 'dnfhelper',
// component: () => import('@/pages/Dnfhelper/index.vue'),
// },
{
path: '/dnfhelper',
name: 'dnfhelper',
component: () => import('@/pages/Dnfhelper/index.vue'),
},
{
path: '/character/:alter',
redirect: (to) => {
+1 -1
Submodule images updated: ed5dad1d2b...0991b6efa4