Help creating stats for a Star Trek Game

I am creating a Star Trek the Roleplaying Game character sheet and I am not sure how to handle the stats for the attributes in the game. The modifier uses the table below, and I am not sure how I could put that into this software.

table

Any help would be greatly appreciated.

This should work. Replace stat with whatever stat you’re calculating the modifier for

stat<=1 ? -3 : (stat<=2 ? -2 : (stat<=3 ? -1 : (stat<=7 ? 0 : floor(stat/2-3))))

Oh my gosh that works perfectly! Is there anywhere where I can see how the math layout works for astral? This is so great thank you very much!

The Documentation shows how mathematics works in Astral, as does the Player’s Guide here in the Tutorials section of the Forums.