Open LuckyZone opened 2 years ago
if math.random() <= (difficulty_factor * 0.3) + 0.1 then return "meteor" elseif is_ocean_zone and math.random() <= (difficulty_factor * 0.3) + 0.1 then return "whirlpool" elseif math.random() <= (difficulty_factor * 0.3) + 0.1 then return "tsunami" elseif w.wind > 70 and math.random() <= (difficulty_factor * 0.9) + 0.1 then return "tornado" end
这段代码中会提示same if condition
这段代码中会提示same if condition