mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 04:19:30 +08:00
继续完善定点查看
This commit is contained in:
parent
77d051dd27
commit
c4e746a211
@ -55,6 +55,10 @@ export function getDetailedEnemy<I extends EnemyIds>(
|
|||||||
if (toShowColor.length > 2) {
|
if (toShowColor.length > 2) {
|
||||||
toShowColor = toShowColor.slice(0, 2).concat(['#fff']);
|
toShowColor = toShowColor.slice(0, 2).concat(['#fff']);
|
||||||
}
|
}
|
||||||
|
if (toShowSpecial.length === 0) {
|
||||||
|
toShowSpecial = ['无属性'];
|
||||||
|
toShowColor = ['#fff'];
|
||||||
|
}
|
||||||
const damageColor = getDamageColor(enemyInfo.damage);
|
const damageColor = getDamageColor(enemyInfo.damage);
|
||||||
const detail: DetailedEnemy<I> = Object.assign(enemyInfo, {
|
const detail: DetailedEnemy<I> = Object.assign(enemyInfo, {
|
||||||
critical: critical[0][0],
|
critical: critical[0][0],
|
||||||
|
Loading…
Reference in New Issue
Block a user