{{set talent = avatar.talent || {} }}
- {{if talent.a && talent.a.level }}
+
{{avatar.abbr}}
-
{{avatar.cons}}
-
Lv{{avatar.level}}
+
+ {{avatar.cons}}
+ Lv{{avatar.level}}
+
+ {{if talent.a && talent.a.level }}
{{each talentMap k}}
- {{set t = talent[k] || {} }} {{t.level}}
+ {{set t = talent[k] || {} }}
+ {{t.level}}
{{/each}}
{{else}}
@@ -35,7 +38,7 @@
- {{weapon.affix}}
+ {{weapon.affix}}
diff --git a/resources/common/tpl/avatar-card.less b/resources/common/tpl/avatar-card.less
index 5f992589..ae5bea3d 100644
--- a/resources/common/tpl/avatar-card.less
+++ b/resources/common/tpl/avatar-card.less
@@ -37,6 +37,12 @@
padding: @px*2 @px*5 @px*2 @px*3;
border-radius: 0 @px*4 0 0;
color: #fff;
+ font-size: 16px;
+ text-shadow: 0 0 1px #000;
+
+ span {
+ font-size: 12px;
+ }
}
}
@@ -47,6 +53,12 @@
position: absolute;
right: 0;
top: 0;
+ font-size: 16px;
+ text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, .8);
+
+ &.cons-0 {
+ display: none;
+ }
}
.avatar-talent {
@@ -136,17 +148,27 @@
height: @px * 126;
width: @px*76;
border-radius: @px*7 0 0 @px*7;
- }
- .img {
- background-size: 100% auto;
- background-position: 0 10%;
- height: 135px;
- margin-top: @px*-9;
+ .img {
+ background-size: 100% auto;
+ background-position: 0 10%;
+ height: @px*135;
+ margin-top: @px*-9;
+ }
}
.avatar-info {
width: @px*70;
+
+ strong {
+ display: block;
+ height: @px * 30;
+ line-height: @px*30;
+ }
+
+ .lv-info {
+ height: @px*20;
+ }
}
.line {
@@ -211,8 +233,15 @@
.avatar-artis {
position: relative;
+ &.artis0 {
+ .item-icon {
+ background: url('./item/artifact-icon.webp') rgba(0, 0, 0, .3) center no-repeat;
+ background-size: auto 80%;
+ }
+ }
+
.artis {
- background: rgba(0, 0, 0, 0.5)
+ background: rgba(0, 0, 0, 0.4)
}
&.artis2 {
diff --git a/resources/meta/info/index.js b/resources/meta/info/index.js
new file mode 100644
index 00000000..10730715
--- /dev/null
+++ b/resources/meta/info/index.js
@@ -0,0 +1,23 @@
+// 报箱数统计
+export const chestInfo = {
+ common: {
+ title: '普通宝箱',
+ max: 2542
+ },
+ exquisite: {
+ title: '精致宝箱',
+ max: 1594
+ },
+ precious: {
+ title: '珍贵宝箱',
+ max: 488
+ },
+ luxurious: {
+ title: '豪华宝箱',
+ max: 185
+ },
+ magic: {
+ title: '奇馈宝箱',
+ max: 146
+ }
+}
\ No newline at end of file
diff --git a/resources/meta/weapon/sword/calc.js b/resources/meta/weapon/sword/calc.js
index 32d5a549..2f69d402 100644
--- a/resources/meta/weapon/sword/calc.js
+++ b/resources/meta/weapon/sword/calc.js
@@ -148,13 +148,8 @@ export default function (step, staticStep) {
}
}],
- 裁叶萃光: [{
- title: '暴击率提升[cpct]%',
- refine: {
- cpct: step(4)
- }
- }, {
- title: '暴击率提升4%,普攻与元素战技造成的伤害值提高[aPlus]',
+ 裁叶萃光: [staticStep('cpct', 4), {
+ title: '普攻与元素战技造成的伤害值提高[aPlus]',
data: {
aPlus: ({ attr, calc, refine }) => calc(attr.mastery) * step(120)[refine] / 100,
ePlus: ({ attr, calc, refine }) => calc(attr.mastery) * step(120)[refine] / 100
diff --git a/resources/stat/abyss-summary.css b/resources/stat/abyss-summary.css
index 7ca2663a..17c2cac0 100644
--- a/resources/stat/abyss-summary.css
+++ b/resources/stat/abyss-summary.css
@@ -84,7 +84,7 @@ body,
color: #d3bc8e;
}
.avatar-banner {
- height: 265px;
+ height: 300px;
width: 175px;
background-repeat: no-repeat;
background-size: 100% auto;
diff --git a/resources/stat/abyss-summary.less b/resources/stat/abyss-summary.less
index 67f31342..6338f6c5 100644
--- a/resources/stat/abyss-summary.less
+++ b/resources/stat/abyss-summary.less
@@ -97,7 +97,7 @@ body, .container {
.avatar-banner {
- height: 265px;
+ height: 300px;
width: 175px;
background-repeat: no-repeat;
background-size: 100% auto;