diff --git a/assets/script/game/common/config/HeroSkillDesc.ts b/assets/script/game/common/config/HeroSkillDesc.ts index 0b204e0c..a4d6653d 100644 --- a/assets/script/game/common/config/HeroSkillDesc.ts +++ b/assets/script/game/common/config/HeroSkillDesc.ts @@ -326,9 +326,11 @@ export function buildSkillDescRich(source: ISkillDescSource): string { return buildSkillLines(source) .map(l => { const prefix = l.prefix.replace(SKILL_NAME_PATTERN, `「$1」`); - return l.value + const text = l.value ? `${prefix}${l.value}${l.suffix}` : `${prefix}${l.suffix}`; + // 持续时间数值同样高亮(计时 buff 的"持续X秒") + return highlightDuration(text); }) .join("\n"); }