diff --git a/decorations.json b/decorations.json index 0489d0c..d1e8159 100644 --- a/decorations.json +++ b/decorations.json @@ -55,6 +55,34 @@ } ] }, + { + "name": "VALORANT CHAMPIONS", + "description": "All Paths End Here.", + "darkText": false, + "descriptionTopMargin": "4px", + "banner": { + "image": "/banners/valorant_champions.png", + "text": "/bannertext/valorant_champions.png", + "height": 40 + }, + "items": [ + { + "name": "Yoru Dimensional Drift", + "description": "Looking for me?", + "file": "/decorations/yoru_dimensional_drift.png" + }, + { + "name": "Viper Poison Cloud", + "description": "No one can hold their breath forever.", + "file": "/decorations/viper_poison_cloud.png" + }, + { + "name": "Cypher Neural Theft", + "description": "Nothing stays hidden from me.", + "file": "/decorations/cypher_neural_theft.png" + } + ] + }, { "name": "Spongebob", "description": "Celebrate 25 years of nautical nonsense!", diff --git a/public/banners/valorant_champions.png b/public/banners/valorant_champions.png new file mode 100644 index 0000000..392f21a Binary files /dev/null and b/public/banners/valorant_champions.png differ diff --git a/public/bannertext/valorant_champions.png b/public/bannertext/valorant_champions.png new file mode 100644 index 0000000..7d3cb15 Binary files /dev/null and b/public/bannertext/valorant_champions.png differ diff --git a/public/decorations/cypher_neural_theft.png b/public/decorations/cypher_neural_theft.png new file mode 100644 index 0000000..41efde3 Binary files /dev/null and b/public/decorations/cypher_neural_theft.png differ diff --git a/public/decorations/viper_poison_cloud.png b/public/decorations/viper_poison_cloud.png new file mode 100644 index 0000000..c9e93d9 Binary files /dev/null and b/public/decorations/viper_poison_cloud.png differ diff --git a/public/decorations/yoru_dimensional_drift.png b/public/decorations/yoru_dimensional_drift.png new file mode 100644 index 0000000..8c18fc7 Binary files /dev/null and b/public/decorations/yoru_dimensional_drift.png differ diff --git a/utils/getAvatarDecorations.js b/utils/getAvatarDecorations.js index 5bfc42d..75b4d94 100644 --- a/utils/getAvatarDecorations.js +++ b/utils/getAvatarDecorations.js @@ -1,11 +1,13 @@ (() => { - var e = []; - document - .querySelectorAll( - "div[class^='categories_'] div[class^='shopCard_'] div[class^='avatarContainer_'] svg:nth-child(2) div[class^='avatarStack_'] > img[class^='avatar_']" - ) - .forEach((el) => { - e.push(el.getAttribute("src").replace(/size=\d{2,4}&passthrough=false/, "size=1024")); - }); + const e = []; + for (const el of document.querySelectorAll( + "div[class^='categories_'] div[class^='shopCard'] div[class^='avatarContainer_'] svg:nth-child(2) div[class^='avatarStack_'] > img[class^='avatar_']", + )) { + e.push( + el + .getAttribute("src") + .replace(/size=\d{2,4}&passthrough=false/, "size=1024"), + ); + } console.log(e.join("\n")); })(); diff --git a/utils/massdownload/urls.txt b/utils/massdownload/urls.txt index 970c624..ccdb0ec 100644 --- a/utils/massdownload/urls.txt +++ b/utils/massdownload/urls.txt @@ -1,3 +1,6 @@ +https://cdn.discordapp.com/avatar-decoration-presets/a_da532f804b47f1681006c2996eb07b2a.png?size=1024 +https://cdn.discordapp.com/avatar-decoration-presets/a_62cd9d7c0031a7c1eb5ad5cc96992189.png?size=1024 +https://cdn.discordapp.com/avatar-decoration-presets/a_b1efe77f379c6c9c6e47e6b6299d5a7d.png?size=1024 https://cdn.discordapp.com/avatar-decoration-presets/a_71b359795488ef63c5c39a46bb8f2e54.png?size=1024 https://cdn.discordapp.com/avatar-decoration-presets/a_4946d58f2f74d54703a7aa26b494f62b.png?size=1024 https://cdn.discordapp.com/avatar-decoration-presets/a_914f20f4984a11b5255f0e42c661fa5b.png?size=1024