Formula

CommonFun.calcBossSceneRollNum

function CommonFun.calcBossSceneRollNum(bossType, count)
  local res = 0
  if bossType == 1 then
    if count < 2 then
      res = 15
    else
      res = 30
    end
  elseif bossType == 2 then
    if count < 4 then
      res = 10
    else
      res = 20
    end
  end
  return res
end