Skip to content

Instantly share code, notes, and snippets.

@greg-1-anderson
Created March 9, 2022 05:23
Show Gist options
  • Save greg-1-anderson/01c42bf4a3c350d3ed277f6e96493668 to your computer and use it in GitHub Desktop.
Save greg-1-anderson/01c42bf4a3c350d3ed277f6e96493668 to your computer and use it in GitHub Desktop.
Script with skyblock calculations
<?php
$lapis1=8937;
$lapis3=9600;
$lapis5=10367;
$lapis7=11269;
$lapis9=12342;
$lapis11=14400;
$lapis1c=256;
$lapis2c=512;
$lapis3c=1280;
$lapis4c=3840;
$lapis5c=10240;
$lapis6c=20480;
$lapis7c=40960;
$lapis8c=81920;
$lapis9c=204800;
$lapis10c=409600;
$lapis11c=819200;
$lapis1s= $lapis1c / $lapis1;
$lapis3s= $lapis3c / ($lapis3 - $lapis1);
$lapis5s= $lapis5c / ($lapis5 - $lapis3);
$lapis7s= $lapis7c / ($lapis7 - $lapis5);
$lapis9s= $lapis9c / ($lapis9 - $lapis7);
$lapis11s= $lapis11c / ($lapis11 - $lapis9);
$redstone1=6703;
$redstone3=7200;
$redstone5=7775;
$redstone7=8452;
$redstone9=9257;
$redstone11=12150;
print "Lapis \n" ;
print (230400 / $lapis7) + $lapis7s;
print "\n Redstone \n " ;
print 204800 / $redstone7 ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment