Skip to content

Commit

Permalink
[U] Update rhythm easter-egg
Browse files Browse the repository at this point in the history
  • Loading branch information
LS-KR committed Jun 27, 2024
1 parent 4c85723 commit caeaeed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/logic/easterEgg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export function handleEasterEgg(userid: string) {
}
})
}
if ((userid == "SevenBird") || (userid == "Considerate_cat") || (userid == "ttttsuuukikoo_")) {
const rhythmKeyword = ["音游", "音遊", "Arc", "舞萌"]
if ((userid == "SevenBird") || (userid == "Considerate_cat") || (userid == "ttttsuuukikoo_") || (userid == "hakureico") || (userid == "xixi_yuexi") || (userid == "Jennife80677612")) {
const rhythmKeyword = ["音游", "音遊", "Arc", "舞萌", "maimaiDX", "OSU", "ptt", "Project Sekai"]
const ps = document.getElementsByTagName("p")
for (const v of ps) {
for (const i of rhythmKeyword) {
Expand All @@ -204,7 +204,7 @@ export function handleEasterEgg(userid: string) {
rhythm.push(userid)
localStorage.setItem("rhythm", JSON.stringify(rhythm))
}
if (rhythm.includes("SevenBird") && rhythm.includes("Considerate_cat") && rhythm.includes("ttttsuuukikoo_") && (!localStorage.getItem("rhythmShown"))) {
if (rhythm.includes("SevenBird") && rhythm.includes("Considerate_cat") && rhythm.includes("ttttsuuukikoo_") && rhythm.includes("hakureico") && rhythm.includes("xixi_yuexi") && rhythm.includes("Jennife80677612") && (!localStorage.getItem("rhythmShown"))) {
localStorage.setItem("rhythmShown", "AP end")
toast("希望有个 All Perfect 的结局", " ~ All that I'm left with is your reminiscences ~ ", "musical-score.png", null, 64, 64, null)
}
Expand Down

0 comments on commit caeaeed

Please sign in to comment.