diff --git a/languages/zh-TW.js b/languages/zh-TW.js index 6e38f62c..47a6d2eb 100644 --- a/languages/zh-TW.js +++ b/languages/zh-TW.js @@ -89,6 +89,7 @@ power_up: tp`${'condition'}${'targets'}${'target'}${'value'}${'reduceDamage'}${'addCombo'}${'followAttack'}`, power_up_targets: tp`${'attrs_types'}的 `, henshin: tp`變身為${'card'}`, + random_henshin: tp`隨機變身為${'cards'}`, void_poison: tp`消除${'poison'}時不會受到毒傷害`, skill_proviso: tp`${'condition'}才能發動後續效果`, impart_awoken: tp`賦予${'attrs_types'}額外的${'awakenings'}`, @@ -97,6 +98,7 @@ obstruct_opponent_before_me: tp`排名比自身高的對手`, obstruct_opponent_designated_position: tp`第${'positions'}排位的對手`, increase_damage_cap: tp`${'targets'}的${'icon'}傷害上限提升到${'cap'}`, + board_jamming_state: tp`在${'position'}生成${'state'}${'size'}${'count'}${'time'}`, }, power: { unknown: tp`[ 未知能力提升: ${'type'} ]`, @@ -158,6 +160,8 @@ random_atk: tp`${'atk'}×${'min'}${'max'}倍`, prob: tp`有${'value'}幾率`, x_awakenings: tp`${'awakenings'}數量×${'value'}`, + size: tp`${'width'}×${'height'}`, + pos: tp`${'x'}×${'y'}`, }, target: { unknown: tp`未知目標`, @@ -233,12 +237,16 @@ enhanced: tp`${'icon'}強化`, locked: tp`${'icon'}鎖定`, nail: tp`${'icon'}釘子`, - variation: tp`${'icon'}變換珠(每${'time'}變換)`, _5color: tp`${'icon'}5色`, _6color: tp`${'_5color'}+${'orb_rcv'}`, all: tp`所有`, any: tp`任何${'cotent'}`, }, + board: { + cloud: tp`${'icon'}雲`, + roulette: tp`${'icon'}輪盤位`, + roulette_time: tp`(每${'duration'}變換)`, + }, types: { [0]: tp`${'icon'}進化用`, [1]: tp`${'icon'}平衡`, @@ -351,6 +359,15 @@ [93]: tp`${'icon'}附加木屬性`, [94]: tp`${'icon'}附加光屬性`, [95]: tp`${'icon'}附加暗屬性`, + [96]: tp`${'icon'}大U`, + [97]: tp`${'icon'}大5色溜`, + [98]: tp`${'icon'}大自回`, + [99]: tp`${'icon'}大火+`, + [100]: tp`${'icon'}大水+`, + [101]: tp`${'icon'}大木+`, + [102]: tp`${'icon'}大光+`, + [103]: tp`${'icon'}大暗+`, + [104]: tp`${'icon'}大心+`, } }, }; @@ -359,7 +376,6 @@ localisation(localTranslating); //大數字縮短長度 Number.prototype.bigNumberToString = function() { - const negative = this < 0; let numTemp = negative ? Math.abs(this) : this.valueOf(); diff --git a/languages/zh.js b/languages/zh.js index 7ad53bae..360e5dd6 100644 --- a/languages/zh.js +++ b/languages/zh.js @@ -361,6 +361,15 @@ [93]: tp`${'icon'}附加木属性`, [94]: tp`${'icon'}附加光属性`, [95]: tp`${'icon'}附加暗属性`, + [96]: tp`${'icon'}大U`, + [97]: tp`${'icon'}大5色溜`, + [98]: tp`${'icon'}大自回`, + [99]: tp`${'icon'}大火+`, + [100]: tp`${'icon'}大水+`, + [101]: tp`${'icon'}大木+`, + [102]: tp`${'icon'}大光+`, + [103]: tp`${'icon'}大暗+`, + [104]: tp`${'icon'}大心+`, } }, }; diff --git a/script-json_data.js b/script-json_data.js index fcbcdf3e..a766a436 100644 --- a/script-json_data.js +++ b/script-json_data.js @@ -283,13 +283,13 @@ let localTranslating = { [0]: tp`${'icon'}Unknown awoken`, [1]: tp`${'icon'}Enhanced HP`, [2]: tp`${'icon'}Enhanced Attack`, - [3]: tp`${'icon'}Enhanced Heal`, + [3]: tp`${'icon'}Enhanced Recovery`, [4]: tp`${'icon'}Reduce Fire Damage`, [5]: tp`${'icon'}Reduce Water Damage`, [6]: tp`${'icon'}Reduce Wood Damage`, [7]: tp`${'icon'}Reduce Light Damage`, [8]: tp`${'icon'}Reduce Dark Damage`, - [9]: tp`${'icon'}Auto-Heal`, + [9]: tp`${'icon'}Auto-Recover`, [10]: tp`${'icon'}Resistance-Bind`, [11]: tp`${'icon'}Resistance-Blind`, [12]: tp`${'icon'}Resistance-Jammers`, @@ -327,7 +327,7 @@ let localTranslating = { [44]: tp`${'icon'}Guard Break`, [45]: tp`${'icon'}Bonus Attack`, [46]: tp`${'icon'}Enhanced Team HP `, - [47]: tp`${'icon'}Enhanced Team RCV`, + [47]: tp`${'icon'}Enhanced Team Recovery`, [48]: tp`${'icon'}Damage Void Piercer`, [49]: tp`${'icon'}Awoken Assist`, [50]: tp`${'icon'}Super Bonus Attack`, @@ -376,6 +376,15 @@ let localTranslating = { [93]: tp`${'icon'}Append Wood Attr.`, [94]: tp`${'icon'}Append Water Attr.`, [95]: tp`${'icon'}Append Dark Attr.`, + [96]: tp`${'icon'}Two-Pronged Attack+`, + [97]: tp`${'icon'}Skill Charge+`, + [98]: tp`${'icon'}Auto-Recover+`, + [99]: tp`${'icon'}Enhanced Fire Orbs+`, + [100]: tp`${'icon'}Enhanced Water Orbs+`, + [101]: tp`${'icon'}Enhanced Wood Orbs+`, + [102]: tp`${'icon'}Enhanced Water Orbs+`, + [103]: tp`${'icon'}Enhanced Dark Orbs+`, + [104]: tp`${'icon'}Enhanced Heal Orbs+`, } }, }; @@ -1582,46 +1591,6 @@ const specialSearchFunctions = (function() { return fragment; } }, - {name:"Member ATK rate change",otLangName:{chs:"队员攻击力 buff",cht:"隊員攻擊力 buff"}, - function:cards=>{ - const searchTypeArray = [230]; - return cards.filter(card=>{ - const skill = getCardActiveSkill(card, searchTypeArray); - return skill; - }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 2)); - }, - addition:memberATK_Addition - }, - {name:"Member ATK rate change - Self",otLangName:{chs:"队员攻击力 buff - 自身",cht:"隊員攻擊力 buff - 自身"}, - function:cards=>{ - const searchTypeArray = [230]; - return cards.filter(card=>{ - const skill = getCardActiveSkill(card, searchTypeArray); - return skill && Boolean(skill.params[1] & 1<<0); - }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 2)); - }, - addition:memberATK_Addition - }, - {name:"Member ATK rate change - Leader",otLangName:{chs:"队员攻击力 buff - 队长",cht:"隊員攻擊力 buff - 隊長"}, - function:cards=>{ - const searchTypeArray = [230]; - return cards.filter(card=>{ - const skill = getCardActiveSkill(card, searchTypeArray); - return skill && Boolean(skill.params[1] & (1<<1 | 1<<2)); - }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 2)); - }, - addition:memberATK_Addition - }, - {name:"Member ATK rate change - Member",otLangName:{chs:"队员攻击力 buff - 队员",cht:"隊員攻擊力 buff - 隊員"}, - function:cards=>{ - const searchTypeArray = [230]; - return cards.filter(card=>{ - const skill = getCardActiveSkill(card, searchTypeArray); - return skill && Boolean(skill.params[1] & 1<<3); - }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 2)); - }, - addition:memberATK_Addition - }, {name:"Move time change",otLangName:{chs:"操作时间 buff(顶手指)",cht:"操作時間 buff(頂手指)"}, function:cards=>{ const searchTypeArray = [132]; @@ -2012,6 +1981,62 @@ const specialSearchFunctions = (function() { return skill; }) }, + {name:"Increase Damage Cap",otLangName:{chs:"增加伤害上限 buff",cht:"增加傷害上限 buff"}, + function:cards=>{ + const searchTypeArray = [241]; + return cards.filter(card=>{ + const skill = getCardActiveSkill(card, searchTypeArray); + return skill; + }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 1)); + }, + addition:card=>{ + const searchTypeArray = [241]; + const skill = getCardActiveSkill(card, searchTypeArray); + if (!skill) return; + const sk = skill.params; + return `${sk[1].bigNumberToString()}×${sk[0]}T`; + } + }, + {name:"Member ATK rate change",otLangName:{chs:"队员攻击力 buff",cht:"隊員攻擊力 buff"}, + function:cards=>{ + const searchTypeArray = [230]; + return cards.filter(card=>{ + const skill = getCardActiveSkill(card, searchTypeArray); + return skill; + }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 2)); + }, + addition:memberATK_Addition + }, + {name:"Member ATK rate change - Self",otLangName:{chs:"队员攻击力 buff - 自身",cht:"隊員攻擊力 buff - 自身"}, + function:cards=>{ + const searchTypeArray = [230]; + return cards.filter(card=>{ + const skill = getCardActiveSkill(card, searchTypeArray); + return skill && Boolean(skill.params[1] & 1<<0); + }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 2)); + }, + addition:memberATK_Addition + }, + {name:"Member ATK rate change - Leader",otLangName:{chs:"队员攻击力 buff - 队长",cht:"隊員攻擊力 buff - 隊長"}, + function:cards=>{ + const searchTypeArray = [230]; + return cards.filter(card=>{ + const skill = getCardActiveSkill(card, searchTypeArray); + return skill && Boolean(skill.params[1] & (1<<1 | 1<<2)); + }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 2)); + }, + addition:memberATK_Addition + }, + {name:"Member ATK rate change - Member",otLangName:{chs:"队员攻击力 buff - 队员",cht:"隊員攻擊力 buff - 隊員"}, + function:cards=>{ + const searchTypeArray = [230]; + return cards.filter(card=>{ + const skill = getCardActiveSkill(card, searchTypeArray); + return skill && Boolean(skill.params[1] & 1<<3); + }).sort((a,b)=>sortByParams(a, b, searchTypeArray, 2)); + }, + addition:memberATK_Addition + }, {name:"Change self's Attr(sort by turns)",otLangName:{chs:"转换自身属性(按回合数排序)",cht:"轉換自身屬性(按回合數排序)"}, function:cards=>{ const searchTypeArray = [142]; diff --git a/service-worker.js b/service-worker.js index 37bc840a..6b87b8c0 100644 --- a/service-worker.js +++ b/service-worker.js @@ -6391,7 +6391,7 @@ const cachesMap = new Map([ ], [ "script-json_data.js", - "7ed4e2859d652fb83cc7d3b8ba2daec2" + "ae7249a544be5b4a26bb52317a82b386" ], [ "script-skill-parser.js", @@ -6415,7 +6415,7 @@ const cachesMap = new Map([ ], [ "style.css", - "f853aaf92d614083ca5a295b7a9a3bd1" + "2b98b4d7d8081b82ac127ea9276677de" ], [ "temp.js", @@ -6475,7 +6475,7 @@ const cachesMap = new Map([ ], [ "languages/zh-TW.js", - "fc52edf10f5b13d4f086e1cdedd276ad" + "5b122fb16c9cdb0f6d6f45f5c535f95a" ], [ "languages/zh.css", @@ -6483,7 +6483,7 @@ const cachesMap = new Map([ ], [ "languages/zh.js", - "7b72ddf203f9d1eb798dd2ab7c4064b0" + "fe79301efeced17c956c299bf981b333" ], [ "images/attrs.png", diff --git a/style.css b/style.css index 3909c8f3..2779d330 100644 --- a/style.css +++ b/style.css @@ -2737,6 +2737,19 @@ icon.inflicts::after height: 36px; background-repeat: no-repeat; } +.block::before { + z-index: 1; +} +.board .orb { + z-index: 5; +} +.block::after { + z-index: 10; + transition: opacity 0.3s; +} +.block:hover::after { + opacity: 0.3; +} /*轮盘位,在宝珠后面*/ .block.roulette::before {