dev
This commit is contained in:
@@ -66,7 +66,7 @@ class IAttribute(BaseModel):
|
||||
"""技能等级"""
|
||||
optionDesc: str | None = Field(None, description='技能选项描述')
|
||||
"""技能选项描述"""
|
||||
optionValue: dict[str, float | str] | None = Field(None, description='技能选项值')
|
||||
optionValue: dict[str, float | str | None] | None = Field(None, description='技能选项值')
|
||||
|
||||
|
||||
class ILevelInfo(BaseModel):
|
||||
|
||||
@@ -540,7 +540,7 @@ class Skill21(ActiveSkill):
|
||||
self.skillRation *= 1.5
|
||||
|
||||
def vp_2(self):
|
||||
self.cd = 13.5
|
||||
self.cd = 15
|
||||
self.skillRation /= 3
|
||||
|
||||
|
||||
|
||||
+1
-1
Submodule backend/openapi updated: 1ffab46c25...f861c337ff
@@ -72,7 +72,7 @@ export default defineComponent({
|
||||
const key = match.replace(/[{}]/g, '')
|
||||
// Only access if key matches the expected pattern
|
||||
if (/^value.+/.test(key)) {
|
||||
const value = skillInfo.value?.attribute.optionValue[key as `value${string}`]
|
||||
const value = skillInfo.value?.attribute.optionValue[key as `value${string}`] ?? '-'
|
||||
if (value) {
|
||||
a = a.replace(
|
||||
match,
|
||||
|
||||
Reference in New Issue
Block a user