Created
January 28, 2020 12:13
-
-
Save tliittok/f75e45d541b76cfc492ff2861b6be6df to your computer and use it in GitHub Desktop.
Last Epoch: get skill popularity in any ladder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x=Array.from(document.getElementsByClassName("skill_wrap")).map(s=>Array.from(s.children).map(c=>c.getAttribute("title"))).flat().reduce((r,v)=>((r[v]||(r[v]=[])).push(v),r),{}) | |
Object.keys(x).sort().map(k=>`${k.padEnd(20)} ${String(x[k].length).padStart(3)}`).join('\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0.8.3