Lua Table 随机排序 2017-06-22 本文已影响0人 串串香 1、在lua里打乱Table的顺序 for i table.sort(guildStartPoints,function (a,b) return math.random(1,10) < 5 end)