存档增加("IZTGCS",1) ztg=整数读取("IZTGCS") ndk={} table.insert(ndk, "ITG2CS6") table.insert(ndk, "ITG1CS1") table.insert(ndk, "ITG1CS2") table.insert(ndk, "ITG1CS3") table.insert(ndk, "ITG1CS4") table.insert(ndk, "ITG1CS5") table.insert(ndk, "ITG1CS6") table.insert(ndk, "ITG2CS1") table.insert(ndk, "ITG2CS2") table.insert(ndk, "ITG2CS3") table.insert(ndk, "ITG2CS4") table.insert(ndk, "ITG2CS5") table.insert(ndk, "ITG2CS6") ndcs={999,5,5,5,5,5,5,10,10,10,10,10,10} 实际难度=0 for i=#ndcs-1,1,-1 do 实际难度=实际难度+整数读取(ndk[i]) end 对比=ztg-实际难度 if 对比>=0 then for i=#ndcs,1,-1 do if 整数读取(ndk[i])