starlightのアップグレードの効率いちいち計算するの面倒だからブックマークレット作っちゃった
destinyタブ開いて使うといいはず
javascript:((e,t,n,o)=>{var i="\\d+(\\.\\d+)?(e\\d+)?",r=e=>e.match("(?<=\\()"+i+"(?=\\))")[0]-0,f=e=>e.match("(?<==)"+i)[0]-0,l=e=>d>=e?p-d:p-e,a=(e,t)=>{e.nextElementSibling.before(t?" RECOMMEND":" NOT FOR YOU")},x=1,d=0,h=0,O=0,c=0,u=0,m=0,M=0,p=5e9;for(let t of e.querySelectorAll("h3")){let e=t.innerText;e.indexOf("★")>=0?x=e.match(i)[0]-0:e.indexOf("λ")>=0&&(d=e.match(i)[0]-0)}for(let l of e.querySelector(":has(> .fbutton)").innerText.split("\n"))l.indexOf(t)>=0?(h=r(l),O=f(l)):l.indexOf(n)>=0?(c=r(l),u=f(l)):l.indexOf(o)>=0?(m=r(l),M=f(l)):l.indexOf("hold up to")>=0&&(p=l.match(i)[0]-0);var S=h*Math.pow(2,c)*Math.pow(x,m);for(let i of e.querySelectorAll(".fbutton"))i.innerText.indexOf(t)>=0?a(i,l(O)*Math.pow(2,c)*Math.pow(x,m)>S*O):i.innerText.indexOf(n)>=0?a(i,l(u)*S>S*u):i.innerText.indexOf(o)>=0&&a(i,l(M)*S*(x-1)>S*M)})(document,"Astral Glance","Shooting Star","Luminous Moon");
最新のページコメント
starlightのアップグレードの効率いちいち計算するの面倒だからブックマークレット作っちゃった
destinyタブ開いて使うといいはず
javascript:((e,t,n,o)=>{var i="\\d+(\\.\\d+)?(e\\d+)?",r=e=>e.match("(?<=\\()"+i+"(?=\\))")[0]-0,f=e=>e.match("(?<==)"+i)[0]-0,l=e=>d>=e?p-d:p-e,a=(e,t)=>{e.nextElementSibling.before(t?" RECOMMEND":" NOT FOR YOU")},x=1,d=0,h=0,O=0,c=0,u=0,m=0,M=0,p=5e9;for(let t of e.querySelectorAll("h3")){let e=t.innerText;e.indexOf("★")>=0?x=e.match(i)[0]-0:e.indexOf("λ")>=0&&(d=e.match(i)[0]-0)}for(let l of e.querySelector(":has(> .fbutton)").innerText.split("\n"))l.indexOf(t)>=0?(h=r(l),O=f(l)):l.indexOf(n)>=0?(c=r(l),u=f(l)):l.indexOf(o)>=0?(m=r(l),M=f(l)):l.indexOf("hold up to")>=0&&(p=l.match(i)[0]-0);var S=h*Math.pow(2,c)*Math.pow(x,m);for(let i of e.querySelectorAll(".fbutton"))i.innerText.indexOf(t)>=0?a(i,l(O)*Math.pow(2,c)*Math.pow(x,m)>S*O):i.innerText.indexOf(n)>=0?a(i,l(u)*S>S*u):i.innerText.indexOf(o)>=0&&a(i,l(M)*S*(x-1)>S*M)})(document,"Astral Glance","Shooting Star","Luminous Moon");