>>60そんな細かい調整は死ぬほどめんどいわwww
when 'random'
n = @players.size - (@dummy ? 3 : 2)
lefts = @nums.clone
for i in 1..n
@nums[rand(Skill.skills.size)] += 1
end
while @nums[1]*2 >= (@players.size - 1 - @nums[7] - (@nums[7] == 0 ? @nums[8] : 0))
@nums = lefts.clone
for i in 1..n
@nums[rand(Skill.skills.size)] += 1
end
end
lefts = @nums.clone
全部発生率とか一緒です。