Skip to content

Instantly share code, notes, and snippets.

@Silvyre
Created December 20, 2016 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Silvyre/caa5c840ff60ef2dcfd99175175721d4 to your computer and use it in GitHub Desktop.
Save Silvyre/caa5c840ff60ef2dcfd99175175721d4 to your computer and use it in GitHub Desktop.
Level ?{Level|1}:
E [[ 7 + floor((?{Level} + {0, 1}<[[?{Level} % 20]] + 2 * floor(?{Level} / 20)) / 2) ]]
M [[ 11 + floor((?{Level} + {0, 1, 4, 9}<[[?{Level} % 10]] + 4 * floor(?{Level} / 10)) / 2) ]]
H [[ 18 + floor((?{Level} + {0, 1, 2, 5, 8, 9}<[[?{Level} % 10]] + 6 * floor(?{Level} / 10)) / 2) ]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment