Can I make 18 roll-able tables, share those with my players, and then do something like this without the API? Let's say the player Charlie is playing as Charmander, a fire pokemon. Charlie should be able to click his "flame-breath" button to deal fire damage, but he's attacking squirtle, who is a water type. You and I know that fire deals half damage, but it'd be nice if roll20 would do all the math. \\ First, we determine Charmander's element @{selected|type1} \\ outputs the element of my selected pokemon (charmander is selected, so this will output "fire") AttackersElementLookupArray [ normal fire water electric grass ice fighting poison ground flying psychic bug rock ghost dragon dark steel fairy] \\ need to search this array for the output of the previous command ("fire") and save it as "2". \\ if the attacker number is "2", pull the second attack array FireAttackArray[ 1 0.5 0.5 1 1.5 1.5 1 1 1 1 1 1.5 0.5 1 0.5 1 1.5 1 ] \\ Second, we determine the target's element by prompting the player to select a target. @{target|Target 1|type1} \\ prompt for a target, this will output "water" after the player clicks on a water pokemon. VictimElementLookupArray [ normal fire water electric grass ice fighting poison ground flying psychic bug rock ghost dragon dark steel fairy] \\ need to search this array for "water" and save it as "3" since water is the third victim type in the array above. FireAttackArray[ 1 0.5 0.5 1 1.5 1.5 1 1 1 1 1 1.5 0.5 1 0.5 1 1.5 1 ] \\need to search this array for position "3" and output the value "0.5" so that it can be used as the damage multiplier. \\ Third and final, we make the attack/damage rolls. The attack roll is a flat 1d20, and the damage roll is 2d6 minus the target's defense [[1d20]] Attack roll [[(2d6-@{target|Target 1|defense})*0.5]] Damage roll before doing any of the above, do I need to set up one array with 18 arrays in it? var allattacks = [ \\ or "const allattacks = ["? [1 1 1 1 1 1 1 1 1 1 1 1 0.5 0 1 1 0.5 1], [1 0.5 0.5 1 1.5 1.5 1 1 1 1 1 1.5 0.5 1 0.5 1 1.5 1], [1 1.5 0.5 1 0.5 1 1 1 1.5 1 1 1 1.5 1 0.5 1 1 1], [1 1 1.5 0.5 0.5 1 1 1 0 1.5 1 1 1 1 0.5 1 1 1], [1 0.5 1.5 1 0.5 1 1 0.5 1.5 0.5 1 0.5 1.5 1 0.5 1 0.5 1], [1 0.5 0.5 1 1.5 0.5 1 1 1.5 1.5 1 1 1 1 1.5 1 0.5 1], [1.5 1 1 1 1 1.5 1 0.5 1 0.5 0.5 0.5 1.5 0 1 1.5 1.5 0.5], [1 1 1 1 1.5 1 1 0.5 0.5 1 1 1 0.5 0.5 1 1 0 1.5], [1 1.5 1 1.5 0.5 1 1 1.5 1 0 1 0.5 1.5 1 1 1 1.5 1], [1 1 1 0.5 1.5 1 1.5 1 1 1 1 1.5 0.5 1 1 1 0.5 1], [1 1 1 1 1 1 1.5 1.5 1 1 0.5 1 1 1 1 0 0.5 1], [1 0.5 1 1 1.5 1 0.5 0.5 1 0.5 1.5 1 1 0.5 1 1.5 0.5 0.5], [1 1.5 1 1 1 1.5 0.5 1 0.5 1.5 1 1.5 1 1 1 1 0.5 1], [0 1 1 1 1 1 1 1 1 1 1.5 1 1 1.5 1 0.5 1 1], [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.5 1 0.5 0], [1 1 1 1 1 1 0.5 1 1 1 1.5 1 1.5 1 0.5 1 0.5], [1 0.5 0.5 0.5 1 1.5 1 1 1 1 1 1 1.5 1 1 1 0.5 1.5], [1 0.5 1 1 1 1 1.5 0.5 1 1 1 1 1 1 1.5 1.5 0.5 1], ]