diff --git a/libs/control.js b/libs/control.js index 9fdd6898..e7afe4fc 100644 --- a/libs/control.js +++ b/libs/control.js @@ -2607,7 +2607,8 @@ control.prototype.getStatusLabel = function (name) { } return { name: "名称", lv: "等级", hpmax: "生命上限", hp: "生命", manamax: "魔力上限", mana: "魔力", - atk: "攻击", def: "防御", mdef: "护盾", money: "金币", exp: "经验", point: "加点", steps: "步数" + atk: "攻击", def: "防御", mdef: "护盾", money: "金币", exp: "经验", point: "加点", steps: "步数", + special: "特殊属性", }[name] || name; } diff --git a/libs/ui.js b/libs/ui.js index 2a5d0880..c0e35bc0 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -2442,7 +2442,12 @@ ui.prototype._drawBookDetail_origin = function (enemy, texts) { originEnemy_one = core.utils.parseSpecial(originEnemy_one); } if (!core.utils.deepEqual(enemy_one, originEnemy_one)) { - content.push(core.getStatusLabel(one) + " " + originEnemy_one); + if (!core.utils.deepEqual(enemy_one, originEnemy_one)) { + let statusName = core.getStatusLabel(one), + statusValue = originEnemy_one; + if (originEnemy_one instanceof Array) statusValue = '[' + originEnemy_one + ']'; + content.push(statusName + " " + statusValue); + } } }); if (content.length > 0) {