diff --git a/CHANGELOG.md b/CHANGELOG.md index ba4fdfed..15fd0f8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 1.5.1 + +* `#角色面板` 伤害计算增加部分角色,目前支持 + * 长柄武器:雷神、胡桃、魈、钟离、香菱 + * 法器:神子、心海、可莉ⁿᵉʷ、凝光ⁿᵉʷ + * 弓:甘雨、宵宫、公子 + * 单手剑:绫人、绫华、刻晴、阿贝多、行秋、班尼特、七七ⁿᵉʷ + # 1.5.0 * 增加`#喵喵日历` 功能 diff --git a/components/Calc.js b/components/Calc.js index 677f40a3..29fd6151 100644 --- a/components/Calc.js +++ b/components/Calc.js @@ -426,6 +426,9 @@ let Calc = { } dmgFn.heal = function (num) { + if(showDetail){ + console.log(num, calc(attr.heal), attr.heal.inc) + } return { avg: num * (1 + calc(attr.heal) / 100) * (attr.heal.inc / 100) } diff --git a/resources/character/detail.css b/resources/character/detail.css index c5fe6dfe..47e38384 100644 --- a/resources/character/detail.css +++ b/resources/character/detail.css @@ -841,4 +841,8 @@ body { .char-迪奥娜 .main-pic { margin-left: -180px; +} + +.char-可莉 .main-pic { + margin-left: -210px; } \ No newline at end of file diff --git a/resources/common/common.css b/resources/common/common.css index 037617b7..89f8c527 100644 --- a/resources/common/common.css +++ b/resources/common/common.css @@ -87,7 +87,14 @@ body { text-shadow: 1px 1px 1px #000; margin-bottom: 10px; } -/* */ +/* */ +.cons { + display: inline-block; + vertical-align: middle; + padding: 0 5px; + border-radius: 4px; + font-family: Number, YS; +} .cons-0 { border-radius: 4px; background: #666; diff --git a/resources/common/common.less b/resources/common/common.less index 47c19206..249f9690 100644 --- a/resources/common/common.less +++ b/resources/common/common.less @@ -106,7 +106,15 @@ body { margin-bottom: 10px; } -/* */ +/* */ + +.cons { + display: inline-block; + vertical-align: middle; + padding: 0 5px; + border-radius: 4px; + font-family: Number, YS; +} .cons(@idx, @bg, @color:#fff) { .cons-@{idx} { diff --git a/resources/common/tpl.css b/resources/common/tpl.css index 6da491c9..978c4067 100644 --- a/resources/common/tpl.css +++ b/resources/common/tpl.css @@ -6,19 +6,25 @@ } .item-card .badge { overflow: hidden; - border-radius: 5px; - position: relative; + border-radius: 50%; + display: block; + width: 26px; + height: 26px; + position: absolute; + right: -4px; + top: -4px; background: #e9e5dc; - box-shadow: 0 2px 6px 0 rgba(132, 93, 90, 0.3); + box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.8), 2px 2px 2px rgba(50, 50, 50, 0.5); + z-index: 10; } .item-card .badge img { - width: 100%; + width: 140%; + left: -27%; + top: -45%; overflow: hidden; background-size: 100%; background-repeat: no-repeat; position: absolute; - top: 0; - /*filter: contrast(95%);*/ } .item-card .item-bg { width: 100%; @@ -29,30 +35,28 @@ } .item-card .bg1 { background-image: url("./item/bg1.png"); + border-radius: 5px 5px 15px 0; } .item-card .bg2 { background-image: url("./item/bg2.png"); + border-radius: 5px 5px 15px 0; } .item-card .bg3 { background-image: url("./item/bg3.png"); + border-radius: 5px 5px 15px 0; } .item-card .bg4 { background-image: url("./item/bg4.png"); + border-radius: 5px 5px 15px 0; } .item-card .bg5 { background-image: url("./item/bg5.png"); + border-radius: 5px 5px 15px 0; } .item-card .box { border-radius: 5px; overflow: hidden; -} -.item-card .box:after { - content: ""; - display: block; - position: absolute; - width: 15px; - right: 0; - bottom: 15px; + background: #e9e5dc; } .item-card .box .item-desc { display: block; @@ -163,6 +167,7 @@ .profile .attr { border-radius: 4px; overflow: hidden; + background: rgba(0, 0, 0, 0.3); } .profile .detail li { width: 300px; diff --git a/resources/common/tpl/artis-item.html b/resources/common/tpl/artis-item.html index 2b5653e0..b8e4a6e7 100644 --- a/resources/common/tpl/artis-item.html +++ b/resources/common/tpl/artis-item.html @@ -4,7 +4,7 @@