This commit is contained in:
2025-06-19 23:54:02 +08:00
parent 06520428f8
commit f68b0f910d
6 changed files with 8 additions and 8 deletions
+2
View File
@@ -1025,6 +1025,8 @@ class Character(CharacterProperty):
awake_ratio_new = ((main + 5250) / 750 + 1) *(buffer_power + 5000) * 0.000025 if buffer_power > 0 else 0
awake_ratio_old = main / 750 + 1
for i in self.skills:
if i.lv > 0 and i.hasUP and i.up is not None and i.up > 0:
self.SetStatus(四维=40)
if i.buffer and i.lv > 0:
info = i.skillInfo()
# 奶自己的面板加成
-4
View File
@@ -270,8 +270,6 @@ class ActiveSkill(Skill):
def setUP(self):
if not self.hasUP:
return
if self.char.buffer:
self.char.SetStatus(四维=40)
if self.up == 1:
if self.learnLv < 35:
self.skillRation *= 1.6
@@ -428,8 +426,6 @@ class BuffSkill(Skill):
def setUP(self):
if not self.hasUP:
return
if self.char.buffer and self.up > 0:
self.char.SetStatus(四维=40)
if self.up == 1:
...
elif self.up == 2:
@@ -1150,6 +1150,8 @@ class Skill23(ActiveSkill):
hit1 = 1
# 上斩攻击力 : {value2}%
data2 = get_data(f"{prefix}/{uuid}", 2, lambda x = None: x)
# 韩服接口数据有问题 后续再确认
power2 = 2
hit2 = 1
# 上斩浮空力 : {value3}
data3 = get_data(f"{prefix}/{uuid}", 3, lambda x = None: x)
Binary file not shown.
@@ -100,7 +100,7 @@ export default defineComponent({
)}
</div>
<div class="skill_title">技能描述</div>
<div class="h-auto max-h-250px">
<div class="h-auto max-h-200px">
<div class="h-full overflow-y-auto bg-#161816 p-2px">
{desc.value?.map((item) =>
// item.startsWith('[') || item.startsWith('-') || item.startsWith('<') ? (
@@ -138,8 +138,8 @@ export default defineComponent({
<div class="flex flex-col gap-2px">
<div class="skill_vp_title">{item.name}</div>
<div class="skill_title">技能描述</div>
<div class="h-auto max-h-200px">
<div class="h-full bg-#161816 p-2px" style="white-space: pre-wrap;">
<div class="h-auto bg-#161816 max-h-300px overflow-y-auto">
<div class="h-auto p-2px" style="white-space: pre-wrap;">
{item.descDetail}
</div>
</div>
+1 -1
View File
@@ -9,7 +9,7 @@
<script lang="ts" name="index" setup>
const zoom = computed(() => {
const DPI = Math.max(0.85,Math.min(/macintosh|mac os x/i.test(navigator.userAgent.toLowerCase()) ? 1 : window.devicePixelRatio || 1,2)) * 0.85
const DPI = Math.max(0.85,Math.min(/macintosh|mac os x/i.test(navigator.userAgent.toLowerCase()) ? 1 : window.devicePixelRatio || 1,2)) * 1.0
return /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent || navigator.vendor || (window as any).opera) ? 1 :(window.screen.width / 1800 / DPI).toFixed(2)
})
import { useDialog } from '@/components/hooks/dialog'