497
个编辑
(跳过删除曲(已测试游戏本体行为)) |
(lasteternity 已修复(已测试游戏本体行为)) |
||
第4行: | 第4行: | ||
local p = {} | local p = {} | ||
function initRandomizer(seed) | |||
local x, y, z = seed, seed, seed | local x, y, z = seed, seed, seed | ||
return function() | return function() | ||
第12行: | 第12行: | ||
end | end | ||
function isAvailable(song) | |||
return not song.deleted and song.id ~= 'lasteternity' | |||
-- 禁用删除曲和 lasteternity (已经测试为游戏本体当前行为) | |||
end | |||
function isFree(song) | |||
return song.set=='base' or song.id=='innocence' | return song.set=='base' or song.id=='innocence' | ||
end | end | ||
第66行: | 第71行: | ||
if value<songSize then | if value<songSize then | ||
local info=songlist[value+1] | local info=songlist[value+1] | ||
if | if isAvailable(info) then | ||
if isFree(info) then | if isFree(info) then | ||
if currentFreeCount<1 then | if currentFreeCount<1 then |
个编辑