存档增加("IDengLuDay",1) 存档增加("IDengLuDay2",1) 存档保存("ILiBao01","666888") 存档保存("ILiBao02","1") 存档保存("maptest2020","1") 存档保存("prebook2023","1") 存档保存("pretest2024","1") 存档增加("ITGCS",1) 存档增加("ITGCSDJ",1) 存档保存("IJiFenMAX","14")--难度选择权 存档保存("IXLCSMAX","80")--炼狱最高层数 --通关难度 ztg=整数读取("ITGCS") ndk={} table.insert(ndk, "ITGCS15") table.insert(ndk, "ITGCS1") table.insert(ndk, "ITGCS2") table.insert(ndk, "ITGCS3") table.insert(ndk, "ITGCS4") table.insert(ndk, "ITGCS5") table.insert(ndk, "ITGCS6") table.insert(ndk, "ITGCS7") table.insert(ndk, "ITGCS8") table.insert(ndk, "ITGCS9") table.insert(ndk, "ITGCS10") table.insert(ndk, "ITGCS11") table.insert(ndk, "ITGCS12") table.insert(ndk, "ITGCS13") table.insert(ndk, "ITGCS14") table.insert(ndk, "ITGCS15") ndcs={999,5,5,5,5,5,10,10,10,10,10,10,10,10,10,10} 实际难度=0 for i=2,#ndk do 实际难度=实际难度+整数读取(ndk[i]) end 对比=ztg-实际难度 if 对比>=0 then for i=#ndcs,1,-1 do if 整数读取(ndk[i])