I have this formula for a token property field:
Code: Select all
SwingMod:{if(ST<9, ceil(ST/2)-6, ((ST/4)-floor((ST-1)/4))*4-2)}
Code: Select all
ST:10
This similar formula does not return a floating point:
Code: Select all
ThrustMod:{floor(if(ST<11,ceil(ST/2)-7,(ceil((ST-10)/2)/4-floor(ceil((ST-10)/2-1)/4))*4-2))}