diff --git a/src/plugin/ui/fixed.ts b/src/plugin/ui/fixed.ts index f770ece..39f571b 100644 --- a/src/plugin/ui/fixed.ts +++ b/src/plugin/ui/fixed.ts @@ -55,6 +55,10 @@ export function getDetailedEnemy( if (toShowColor.length > 2) { toShowColor = toShowColor.slice(0, 2).concat(['#fff']); } + if (toShowSpecial.length === 0) { + toShowSpecial = ['无属性']; + toShowColor = ['#fff']; + } const damageColor = getDamageColor(enemyInfo.damage); const detail: DetailedEnemy = Object.assign(enemyInfo, { critical: critical[0][0],