Skip to content

Instantly share code, notes, and snippets.

@Silvyre
Last active February 26, 2018 04:38
Show Gist options
  • Save Silvyre/14cc1dab8e28abe1cd6b8824b5ee6592 to your computer and use it in GitHub Desktop.
Save Silvyre/14cc1dab8e28abe1cd6b8824b5ee6592 to your computer and use it in GitHub Desktop.
[[ [[floor({?{Level|1+1} - 3, 0}kh1 / 10)]]d20! + 1d[[(({?{Level}, 1}kh1 - 3 + 2 * [[{abs((?{Level} - 10) % 10 - 4.5) + {1/2}, {3} }<2]]) % 4 + 3) * 2 + [[{abs((?{Level} - 5) % 10 - 4.5) + {1/2}, {4} }<3]] * ((floor(({?{Level}, 1}kh1 - 7) / 10) % 2 * 4 - 2 * floor(({?{Level}, 1}kh1 - 7) % 10 / 2)) * (1 - 2 * (1 - floor(({?{Level}, 1}kh1 - 7) / 2) % 2)) * (1 - floor(({?{Level}, 1}kh1 - 7) / 10) % 2 * 2))]]! + [[{abs((?{Level} - 5) % 10 - 4.5) + {1/2}, {4} }<3]]d[[{(floor(({?{Level}, 1}kh1 - 7) % 10 / 2) + 4) * 2, {12} }kl1]]! ]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment