| @@ -63,6 +63,10 @@ | |||||
| { | { | ||||
| content: "RCV:"; | content: "RCV:"; | ||||
| } | } | ||||
| .search-mon-list .index-preview::before | |||||
| { | |||||
| content: "Weit:"; | |||||
| } | |||||
| .edit-box .edit-box-title::before{ | .edit-box .edit-box-title::before{ | ||||
| content: "Edit Member"; | content: "Edit Member"; | ||||
| } | } | ||||
| @@ -18,6 +18,7 @@ | |||||
| sort_hpMax110_awoken: "Max HP (+Awoken)", | sort_hpMax110_awoken: "Max HP (+Awoken)", | ||||
| sort_atkMax110_awoken: "Max ATK (+Awoken)", | sort_atkMax110_awoken: "Max ATK (+Awoken)", | ||||
| sort_rcvMax110_awoken: "Max RCV (+Awoken)", | sort_rcvMax110_awoken: "Max RCV (+Awoken)", | ||||
| sort_abilityIndex_awoken: "Maximum Weighted Ability Index (+Awakening)", | |||||
| }, | }, | ||||
| force_reload_data: "Force refresh data", | force_reload_data: "Force refresh data", | ||||
| } | } | ||||
| @@ -61,6 +61,10 @@ | |||||
| { | { | ||||
| content: "回復:"; | content: "回復:"; | ||||
| } | } | ||||
| .search-mon-list .index-preview::before | |||||
| { | |||||
| content: "加重:"; | |||||
| } | |||||
| .edit-box .edit-box-title::before{ | .edit-box .edit-box-title::before{ | ||||
| content: "変更メンバー"; | content: "変更メンバー"; | ||||
| } | } | ||||
| @@ -18,6 +18,7 @@ | |||||
| sort_hpMax110_awoken: "最大 HP (+覚醒)", | sort_hpMax110_awoken: "最大 HP (+覚醒)", | ||||
| sort_atkMax110_awoken: "最大攻撃 (+覚醒)", | sort_atkMax110_awoken: "最大攻撃 (+覚醒)", | ||||
| sort_rcvMax110_awoken: "最大回復 (+覚醒)", | sort_rcvMax110_awoken: "最大回復 (+覚醒)", | ||||
| sort_abilityIndex_awoken: "最大加重能力指数 (+覚醒)", | |||||
| }, | }, | ||||
| force_reload_data: "データの強制更新", | force_reload_data: "データの強制更新", | ||||
| } | } | ||||
| @@ -62,6 +62,10 @@ | |||||
| { | { | ||||
| content: "회복:"; | content: "회복:"; | ||||
| } | } | ||||
| .search-mon-list .index-preview::before | |||||
| { | |||||
| content: "가중:"; | |||||
| } | |||||
| .edit-box .edit-box-title::before{ | .edit-box .edit-box-title::before{ | ||||
| content: "회원 수정"; | content: "회원 수정"; | ||||
| } | } | ||||
| @@ -18,6 +18,7 @@ | |||||
| sort_hpMax110_awoken: "최대 HP (+각성)", | sort_hpMax110_awoken: "최대 HP (+각성)", | ||||
| sort_atkMax110_awoken: "최대 공격 (+각성)", | sort_atkMax110_awoken: "최대 공격 (+각성)", | ||||
| sort_rcvMax110_awoken: "최대 회복 (+각성)", | sort_rcvMax110_awoken: "최대 회복 (+각성)", | ||||
| sort_abilityIndex_awoken: "최대 가중 능력 지수 (+각성)", | |||||
| }, | }, | ||||
| force_reload_data: "데이터 강제 새로 고침", | force_reload_data: "데이터 강제 새로 고침", | ||||
| } | } | ||||
| @@ -9,7 +9,8 @@ | |||||
| }, | }, | ||||
| { | { | ||||
| name:"中文(简体)技能解析",i18n:"zh-CN",searchlist:["chs","ja"], | name:"中文(简体)技能解析",i18n:"zh-CN",searchlist:["chs","ja"], | ||||
| guideURL:id=>{const url = new URL(location);url.search = '';url.searchParams.set("guide",1);url.searchParams.set("id",id); return url;} | |||||
| guideURL:id=>`http://pad.skyozora.com/pets/${id}` | |||||
| //guideURL:id=>{const url = new URL(location);url.search = '';url.searchParams.set("guide",1);url.searchParams.set("id",id); return url;} | |||||
| }, | }, | ||||
| { | { | ||||
| name:"中文(简体)原版技能",i18n:"zh",searchlist:["chs","ja"], | name:"中文(简体)原版技能",i18n:"zh",searchlist:["chs","ja"], | ||||
| @@ -65,6 +65,10 @@ | |||||
| { | { | ||||
| content: "回復:"; | content: "回復:"; | ||||
| } | } | ||||
| .search-mon-list .index-preview::before | |||||
| { | |||||
| content: "加權:"; | |||||
| } | |||||
| .edit-box .edit-box-title::before{ | .edit-box .edit-box-title::before{ | ||||
| content: "修改隊員"; | content: "修改隊員"; | ||||
| } | } | ||||
| @@ -18,6 +18,7 @@ | |||||
| sort_hpMax110_awoken: "最大 HP(+覺醒)", | sort_hpMax110_awoken: "最大 HP(+覺醒)", | ||||
| sort_atkMax110_awoken: "最大攻擊(+覺醒)", | sort_atkMax110_awoken: "最大攻擊(+覺醒)", | ||||
| sort_rcvMax110_awoken: "最大回復(+覺醒)", | sort_rcvMax110_awoken: "最大回復(+覺醒)", | ||||
| sort_abilityIndex_awoken: "最大加權能力指數(+覺醒)", | |||||
| }, | }, | ||||
| force_reload_data: "強制刷新數據", | force_reload_data: "強制刷新數據", | ||||
| } | } | ||||
| @@ -65,6 +65,10 @@ | |||||
| { | { | ||||
| content: "回复:"; | content: "回复:"; | ||||
| } | } | ||||
| .search-mon-list .index-preview::before | |||||
| { | |||||
| content: "加权:"; | |||||
| } | |||||
| .edit-box .edit-box-title::before{ | .edit-box .edit-box-title::before{ | ||||
| content: "修改队员"; | content: "修改队员"; | ||||
| } | } | ||||
| @@ -102,4 +102,13 @@ const sort_function_list = [ | |||||
| return abA - abB; | return abA - abB; | ||||
| } | } | ||||
| }, | }, | ||||
| {tag:"sort_abilityIndex_awoken",name:"最大加权能力指数(+觉醒)",function:(a,b)=> | |||||
| { | |||||
| const abilities_2statusA = calculateAbility_max(a.id, solo, teamsCount), | |||||
| abilities_2statusB = calculateAbility_max(b.id, solo, teamsCount); | |||||
| const abA = abilities_2statusA ? abilities_2statusA.withAwoken.hp / 10 + abilities_2statusA.withAwoken.atk / 5 + abilities_2statusA.withAwoken.rcv / 3 : 0, | |||||
| abB = abilities_2statusB ? abilities_2statusB.withAwoken.hp / 10 + abilities_2statusB.withAwoken.atk / 5 + abilities_2statusB.withAwoken.rcv / 3 : 0; | |||||
| return abA - abB; | |||||
| } | |||||
| }, | |||||
| ]; | ]; | ||||
| @@ -345,8 +345,11 @@ function calculateAbility(member, assist = null, solo = true, teamsCount = 1) | |||||
| let reValueNoAwoken = n_base * n_awokenScale + n_plus + (n_assist_base + n_assist_plus) * bonusScale[idx]; | let reValueNoAwoken = n_base * n_awokenScale + n_plus + (n_assist_base + n_assist_plus) * bonusScale[idx]; | ||||
| //觉醒生效时的协力、语音觉醒等的倍率 | //觉醒生效时的协力、语音觉醒等的倍率 | ||||
| reValue = Math.round(reValue * latterAwokenScale[idx].reduce(calculateAwokenScale,1)); | |||||
| reValue = reValue * latterAwokenScale[idx].reduce(calculateAwokenScale,1); | |||||
| //都要做四舍五入 | |||||
| reValue = Math.round(reValue); | |||||
| reValueNoAwoken = Math.round(reValueNoAwoken); | |||||
| if (idx<2) //idx顺序为HP、ATK、RCV | if (idx<2) //idx顺序为HP、ATK、RCV | ||||
| { //HP和ATK最低为1 | { //HP和ATK最低为1 | ||||
| reValue = Math.max(reValue,1); | reValue = Math.max(reValue,1); | ||||
| @@ -1031,6 +1031,9 @@ function initialize() { | |||||
| const rcvDom = abilitiesPreview.appendChild(document.createElement("li")); | const rcvDom = abilitiesPreview.appendChild(document.createElement("li")); | ||||
| rcvDom.className = "rcv-preview"; | rcvDom.className = "rcv-preview"; | ||||
| rcvDom.textContent = abilities.rcv; | rcvDom.textContent = abilities.rcv; | ||||
| const indexDom = abilitiesPreview.appendChild(document.createElement("li")); | |||||
| indexDom.className = "index-preview"; | |||||
| indexDom.textContent = Math.round(abilities.hp/10 + abilities.atk/5 + abilities.rcv/3); | |||||
| return abilitiesPreview; | return abilitiesPreview; | ||||
| } | } | ||||
| if (options.showAbilities || options.showAbilitiesWithAwoken) | if (options.showAbilities || options.showAbilitiesWithAwoken) | ||||