打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

用户:RedDragon/Test2:修订间差异

来自Rizline中文维基
第138行: 第138行:


     function generateRandomRestrictions() {
     function generateRandomRestrictions() {
         const speeds = [...Array(40).fill("无限制"), ...Array.from({ length: 91 }, (_, i) => (i + 10) / 10)]
         const speeds = [...Array(20).fill("无限制"), ...Array.from({ length: 91 }, (_, i) => (i + 10) / 10)]
         const mods = ["无MOD", "镜像模式", "保护模式", "Bad保护模式", "特殊计量条", "隐藏计量条"]
         const mods = ["无MOD", "镜像模式", "保护模式", "Bad保护模式", "特殊计量条", "隐藏计量条"]
         const others = ["无限制"]
         const others = ["无限制"]
第147行: 第147行:


         let selectedMods = []
         let selectedMods = []
         if (Math.random() < 0.3) {  
         if (Math.random() < 0.3) {
             selectedMods = [mods[Math.floor(Math.random() * mods.length)]]
             selectedMods = [mods[Math.floor(Math.random() * mods.length)]]
         } else {
         } else {
第167行: 第167行:
             modElement.textContent = selectedMods[0]
             modElement.textContent = selectedMods[0]
         } else {
         } else {
             modElement.innerHTML = selectedMods.map(mod => `<p>${mod}</p>`).join('')
             modElement.innerHTML = `<p>${selectedMods.join('<br>')}</p>`
         }
         }


第184行: 第184行:
             otherElement.textContent = selectedOthers[0]
             otherElement.textContent = selectedOthers[0]
         } else {
         } else {
             otherElement.innerHTML = selectedOthers.map(other => `<p>${other}</p>`).join('')
             otherElement.innerHTML = `<p>${selectedOthers.join('<br>')}</p>`
         }
         }
     }
     }

2025年10月19日 (日) 18:19的版本

曲目
限制
难度 a
流速 b
MOD c
其他 d

神秘的随机挑战!


User:RedDragon/Test User:RedDragon/Test1 User:RedDragon/Test2