From 5a33cb98642bfeb96f916edd4b5654535e40b425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Tue, 16 Mar 2021 21:31:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E5=88=86=E6=AE=B5HP=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- languages/en.css | 37 +++++++ languages/ja.css | 37 +++++++ languages/ko.css | 37 +++++++ languages/zh-CN.js | 4 +- languages/zh-TW.css | 37 +++++++ languages/zh.css | 37 +++++++ multi.html | 6 ++ script-universal_function.js | 160 ++++++++++++++++------------- script.js | 193 +++++++++++++++++++++++++++++++++-- solo.html | 6 ++ style.css | 79 ++++++++++++-- triple.html | 8 ++ 12 files changed, 551 insertions(+), 90 deletions(-) diff --git a/languages/en.css b/languages/en.css index 26aaa1b5..39f3a79e 100644 --- a/languages/en.css +++ b/languages/en.css @@ -271,6 +271,43 @@ content: " sec"; } +.dialog-hp-detail .dialog-title::before +{ + content: "HP Range Reduction Details"; +} +.hp-range-table .hp-range th::before +{ + content: "HP Range"; +} +.hp-range-table .reduce-scale .reduce-probability:before +{ + content: "Odds "; +} +.hp-range-table caption::before +{ + content: "All Attribute Enemy"; +} +.hp-range-table[data-attr="0"] caption::before +{ + content: "Fire Attribute Enemy"; +} +.hp-range-table[data-attr="1"] caption::before +{ + content: "Water Attribute Enemy"; +} +.hp-range-table[data-attr="2"] caption::before +{ + content: "Wood Attribute Enemy"; +} +.hp-range-table[data-attr="3"] caption::before +{ + content: "Light Attribute Enemy"; +} +.hp-range-table[data-attr="4"] caption::before +{ + content: "Dark Attribute Enemy"; +} + .setting-box .row-mon-id .open-search::before{ content: "Simple Search"; } diff --git a/languages/ja.css b/languages/ja.css index 3afc1045..a6bc8c79 100644 --- a/languages/ja.css +++ b/languages/ja.css @@ -263,6 +263,43 @@ content: " 秒"; } +.dialog-hp-detail .dialog-title::before +{ + content: "HP 範囲減傷の詳細"; +} +.hp-range-table .hp-range th::before +{ + content: "HP 範囲"; +} +.hp-range-table .reduce-scale .reduce-probability:before +{ + content: "確率 "; +} +.hp-range-table caption::before +{ + content: "すべての属性の敵"; +} +.hp-range-table[data-attr="0"] caption::before +{ + content: "火属性の敵"; +} +.hp-range-table[data-attr="1"] caption::before +{ + content: "水属性の敵"; +} +.hp-range-table[data-attr="2"] caption::before +{ + content: "木属性の敵"; +} +.hp-range-table[data-attr="3"] caption::before +{ + content: "光属性の敵"; +} +.hp-range-table[data-attr="4"] caption::before +{ + content: "暗属性の敵"; +} + .setting-box .row-mon-id .open-search::before{ content: "簡単な検索"; } diff --git a/languages/ko.css b/languages/ko.css index 11df11ad..7faec88d 100644 --- a/languages/ko.css +++ b/languages/ko.css @@ -260,6 +260,43 @@ content: " 초"; } +.dialog-hp-detail .dialog-title::before +{ + content: "HP 범위 손상 감소 세부 정보"; +} +.hp-range-table .hp-range th::before +{ + content: "HP 범위"; +} +.hp-range-table .reduce-scale .reduce-probability:before +{ + content: "확률 "; +} +.hp-range-table caption::before +{ + content: "모든 속성의 적"; +} +.hp-range-table[data-attr="0"] caption::before +{ + content: "화재 속성의 적"; +} +.hp-range-table[data-attr="1"] caption::before +{ + content: "물 속성의 적"; +} +.hp-range-table[data-attr="2"] caption::before +{ + content: "나무 속성의 적"; +} +.hp-range-table[data-attr="3"] caption::before +{ + content: "빛의 속성의 적"; +} +.hp-range-table[data-attr="4"] caption::before +{ + content: "숨겨진 속성의 적"; +} + .setting-box .row-mon-id .open-search::before{ content: "간단한 검색"; } diff --git a/languages/zh-CN.js b/languages/zh-CN.js index c45482f2..7b7c161a 100644 --- a/languages/zh-CN.js +++ b/languages/zh-CN.js @@ -36,9 +36,9 @@ function findFullSkill(subSkill) { } //document.querySelector(".edit-box .row-mon-id .m-id").type = "number"; /* 快速搜索指定类型的技能 -var result = Skills.filter(s=>{const sk = s.params; return s.type == 156;}).map(findFullSkill); -console.table(result); +var result = Skills.filter(s=>{const sk = s.params; return [130,131].includes(s.type);}).map(findFullSkill); showSearch(result.map(o=>o.card).filter(c=>c)); +console.table(result); */ //返回flag里值为true的数组,如[1,4,7] diff --git a/languages/zh-TW.css b/languages/zh-TW.css index 64949280..68f32682 100644 --- a/languages/zh-TW.css +++ b/languages/zh-TW.css @@ -266,6 +266,43 @@ content: " 秒"; } +.dialog-hp-detail .dialog-title::before +{ + content: "HP 階段減傷詳情"; +} +.hp-range-table .hp-range th::before +{ + content: "HP 範圍"; +} +.hp-range-table .reduce-scale .reduce-probability:before +{ + content: "幾率 "; +} +.hp-range-table caption::before +{ + content: "全屬性敵人"; +} +.hp-range-table[data-attr="0"] caption::before +{ + content: "火屬性敵人"; +} +.hp-range-table[data-attr="1"] caption::before +{ + content: "水屬性敵人"; +} +.hp-range-table[data-attr="2"] caption::before +{ + content: "木屬性敵人"; +} +.hp-range-table[data-attr="3"] caption::before +{ + content: "光屬性敵人"; +} +.hp-range-table[data-attr="4"] caption::before +{ + content: "暗屬性敵人"; +} + .setting-box .row-mon-id .open-search::before{ content: "簡易搜索"; } diff --git a/languages/zh.css b/languages/zh.css index 1447ec77..e9972c81 100644 --- a/languages/zh.css +++ b/languages/zh.css @@ -265,6 +265,43 @@ content: " 秒"; } +.dialog-hp-detail .dialog-title::before +{ + content: "HP 階段減傷詳情"; +} +.hp-range-table .hp-range th::before +{ + content: "HP 范围"; +} +.hp-range-table .reduce-scale .reduce-probability:before +{ + content: "几率 "; +} +.hp-range-table caption::before +{ + content: "全属性敵人"; +} +.hp-range-table[data-attr="0"] caption::before +{ + content: "火属性敵人"; +} +.hp-range-table[data-attr="1"] caption::before +{ + content: "水属性敵人"; +} +.hp-range-table[data-attr="2"] caption::before +{ + content: "木属性敵人"; +} +.hp-range-table[data-attr="3"] caption::before +{ + content: "光属性敵人"; +} +.hp-range-table[data-attr="4"] caption::before +{ + content: "暗属性敵人"; +} + .setting-box .row-mon-id .open-search::before{ content: "简易搜索"; } diff --git a/multi.html b/multi.html index fc35edcd..a53e8991 100644 --- a/multi.html +++ b/multi.html @@ -83,6 +83,7 @@ var formation = new Formation(teamsCount,5); +
@@ -596,6 +597,11 @@ var formation = new Formation(teamsCount,5);
+
@@ -476,6 +477,11 @@ var formation = new Formation(teamsCount,6);
+
@@ -518,6 +519,7 @@ var formation = new Formation(teamsCount,6); +
@@ -938,6 +940,7 @@ var formation = new Formation(teamsCount,6); +
@@ -1331,6 +1334,11 @@ var formation = new Formation(teamsCount,6);
+