From c0efa62b85977482b5823cef83766fa92b924e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E7=93=9C=C2=B0?= Date: Sat, 29 Nov 2025 19:52:00 +0800 Subject: [PATCH] dev --- backend/core/equipment/version_0/equ.py | 68 ++++++++++++++++-- backend/dataFiles/dcalc_0.db | Bin 1007616 -> 1007616 bytes .../EquipmentDictionary/formatData.ts | 15 ++-- 3 files changed, 71 insertions(+), 12 deletions(-) diff --git a/backend/core/equipment/version_0/equ.py b/backend/core/equipment/version_0/equ.py index 1ef3c300..0613172f 100644 --- a/backend/core/equipment/version_0/equ.py +++ b/backend/core/equipment/version_0/equ.py @@ -14573,11 +14573,12 @@ def equ_2001(char: CharacterProperty): skillAttack = ( 0.1 * point - (point // 25) * 0.1 - + (0.5 if point >= 25 else 0) - + (0.6 if point >= 50 else 0) - + (0.6 if point >= 75 else 0) - + (1.8 if point >= 100 else 0) + + (0.1 if point >= 25 else 0) + + (0.1 if point >= 50 else 0) + + (0.1 if point >= 75 else 0) + + (0.1 if point >= 100 else 0) ) + print(skillAttack) buffer = ( 30 * point - (point // 25) * 30 @@ -14597,6 +14598,65 @@ def equ_2001(char: CharacterProperty): char.AwakeSkill.lv += 1 pass +@register +def equ_2002(char: CharacterProperty): + ''' + DCALC_REMOVE: equ_2001 - 玲珑的秘宝气候晶体 + <纳波尔的记忆> + 穿戴的最高套装积分达到2100点以上时,才能发挥能力。 + 套装积分达到2550以上时,会发动更强的效果。 + 技能伤害+54.6% + 增益量12530 + 精度 + 精度100%时,技能伤害+10%,增益量4650 + 技能冷却时间-4%(觉醒技能除外) + 精度每提升25%,技能冷却时间-4%(最多叠加4次;觉醒技能除外) + 特效伤害 +10% + [不稳定性] + 展现神之权能,以1~11秒的时间间隔,每次有1%的几率初始化所有技能冷却时间 + *仅当2个以上技能处于冷却时间时适用 + *组队挑战时,辅助角色的觉醒技能不会被初始化 + [气候重构] + 精度达到100%时,在城镇中使用普通聊天输入“气候重构”时,出现特效。(冷却时间600秒) + rarity: 太初 + ''' + if 2100 <= char.max_point < 2550: + char.SetStatus(SkillAttack=0.384, Buffer=11220) + pass + if char.max_point >= 2550: + char.SetStatus(SkillAttack=0.494 + 0.052, Buffer=12180 + 350) + pass + point = char.charEquipInfo["辅助装备"].precision + skillAttack = ( + 0.1 * point + - (point // 25) * 0.1 + + (0.1 if point >= 25 else 0) + + (0.1 if point >= 50 else 0) + + (0.1 if point >= 75 else 0) + + (0.1 if point >= 100 else 0) + ) + buffer = ( + 30 * point + - (point // 25) * 30 + + (390 if point >= 25 else 0) + + (420 if point >= 50 else 0) + + (420 if point >= 75 else 0) + + (540 if point >= 100 else 0) + ) + char.SetStatus(SkillAttack=skillAttack / 100, Buffer=buffer) + for part in ['项链','手镯','戒指']: + if char.charEquipInfo[part].equInfo and '黑牙' in char.charEquipInfo[part].equInfo.name: + char.SetStatus(SkillAttack = 0.02) + # char.SetSkillCD(cd=0.04) + # cd = (point // 25) * 0.04 + # char.SetStatus(EquEffectRatio=0.10) + # if cd > 0: + # char.SetSkillCD(cd=cd) + if char.buffer: + char.BuffSkill.lv += 1 + char.AwakeSkill.lv += 1 + pass + # endregion # region 春节 diff --git a/backend/dataFiles/dcalc_0.db b/backend/dataFiles/dcalc_0.db index 86f3f2f19994a79a08134f59eb5873a9fb613d1f..c9fe192b7ec154bb75e24c629cb1fa3e4e21e5bc 100644 GIT binary patch delta 352 zcmZoTVB2uOc7inH^NBLfjL#brS`!#s6PQ{Pm|GKAS`%1X6WF#Uuy68b<(b1ZlXH6E z6RsJX0|NH2Y|jp5muF()p1%EqF9!$X_9+qU%*-qd42-OsH}WttvNWl-R!u({%Pup0 zdo+9QbOkSV*6G}zczUK^xWmTNek_(9h&h0m6NtHhn0x!NSf06w(+lf46sNEI!%?{X z>wX>`rRjzDdHT0+c*GMe%hn9lQ!M_p9g&_MP5o*smhiJ7Uv_IOU-AjauVPdUY> iZ{+5c6E-w8h9d(50~0e7v-b1cygzL3@p<>UgHs)zB7isV7gW; z`)n2l21d5c8+n)*S(;Q^E2l4rVV7xt8p{sE96-zo#9Tnkz5Qt{PhH~l-aj0ZwtwBv zqoc%RWHR0H4^Q9rjgNSuWEm5;^6)-jXRMgKk*7quEvr9Bl7YclQdN~-l_9<>y_^9C zrqAQxEp)ee-re$i;=HF5I-k#Kc|K$Q^J%N?xT2qL+V^yQ+tXdk3=IraW4WGnHN0rv z`()3Or|ULr8ycu`J)5%oY5VS{dv-nTnWk-GW@0w|BL}DObOlacsqN-mya9~$T+bHl zeAc_}`O5vzI<~xMXa$=7bm{aLi(8*BU;nhD?fKfy=ew4_-_!GAYxk2~9Zz;IeX^tb z>Bf1_8kPfXU(xVvPN!$xlRXPwtlttA%k{Kv(#x4EpRU{XbVBd5IkOdvO%1rXqM!C} zda-`GXB~tFDnoK+#%66}3q2E6uBVIUJ)hn6vc2EX(8$OD-6TUZh)GLUJ?)r_V!&o? oQxiQiWc@~l7MS|Yrw6WJlbk+}n^&&=JU1^8^KC!R&2Jb202gTmwEzGB diff --git a/frontend/src/pages/Character/EquipmentDictionary/formatData.ts b/frontend/src/pages/Character/EquipmentDictionary/formatData.ts index 1e6a9a59..e4f091f1 100644 --- a/frontend/src/pages/Character/EquipmentDictionary/formatData.ts +++ b/frontend/src/pages/Character/EquipmentDictionary/formatData.ts @@ -254,10 +254,9 @@ export const formatStone = (total: IEquipment[], curSuit?: string) => { // const remind = temp.length % rowCount // rzs.push(...temp, ...Array(temp.length == 0 ? rowCount-remind : remind).fill(undefined)) }) - const items_sj = total.filter((equip) => equip.categorize.includes('神界')) - const sj: (IEquipment | undefined)[] = [] - // const raritiy = Array.from(new Set(items_suits_rzs.map((item) => item.rarity))) - sj.push(...items_sj, ...Array(rowCount * 2 - (items_sj.length % rowCount)).fill(undefined)) + // const items_sj = total.filter((equip) => equip.categorize.includes('神界')) + // const sj: (IEquipment | undefined)[] = [] + // sj.push(...items_sj, ...Array(rowCount * 2 - (items_sj.length % rowCount)).fill(undefined)) // const temp = items_suits_rzs.filter((item) => item.itemDetailType === part) // const remind = temp.length % rowCount // rzs.push(...temp, ...Array(temp.length == 0 ? rowCount-remind : remind).fill(undefined)) @@ -278,9 +277,9 @@ export const formatStone = (total: IEquipment[], curSuit?: string) => { name: '人造神', equs: rzs, }, - { - name: '神界', - equs: sj, - }, + // { + // name: '神界', + // equs: sj, + // }, ] }