So, looking for some help or thoughts on this one. I have an extreme calculation devised for the character sheet. It takes into account whether or not armor and shields are equipped or not. The problem I have run into is that when only armor is equipped the calculation yields a 0 within the sheet, but when the attributed is called for in the chat, the correct value is returned. This is the code I am using for the calculation of attribute Dex-armor ((((floor(([[((floor(([[@{DEX-mod}]] + @{armor-max-dex}) - (abs([[@{DEX-mod}]] - @{armor-max-dex}))) * @{armor-equipped}) / 2) + (@{shield-max-dex} * (1 - (@{armor-equipped})))]] + [[((floor(([[@{DEX-mod}]] + @{shield-max-dex}) - (abs([[@{DEX-mod}]] - @{shield-max-dex}))) * @{shield-equipped}) / 2) + (@{armor-max-dex} * (1 - (@{shield-equipped})))]]) - (abs([[((floor(([[@{DEX-mod}]] + @{armor-max-dex}) - (abs([[@{DEX-mod}]] - @{armor-max-dex}))) * @{armor-equipped}) / 2) + (@{shield-max-dex} * (1 - (@{armor-equipped})))]] - [[((floor(([[@{DEX-mod}]] + @{shield-max-dex}) - (abs([[@{DEX-mod}]] - @{shield-max-dex}))) * @{shield-equipped}) / 2) + (@{armor-max-dex} * (1 - (@{shield-equipped})))]])))) * ([[ceil((@{armor-equipped}/2) + (@{shield-equipped}/2))]]))/2) + ([[@{DEX-mod}]] * (1 - ([[ceil((@{armor-equipped}/2) + (@{shield-equipped}/2))]])))) You can see an example below: