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 86f3f2f1..c9fe192b 100644 Binary files a/backend/dataFiles/dcalc_0.db and b/backend/dataFiles/dcalc_0.db differ 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, + // }, ] }