
Basically I have an attack matrix that is not reducible to a function. So my first thought was to use a multidimensional array to hold the table data. Is this the best way? Some other ways I thought of doing this. Use hidden fields to set up the table. eg.
<input type="hidden" name="attr_physicalattackmatrixone_dac_1_wc_1" value="19">
<input type="hidden" name="attr_physicalattackmatrixone_dac_1_wc_2" value="19">
<input type="hidden" name="attr_physicalattackmatrixone_dac_1_wc_3" value="18">
.
.
.
<input type="hidden" name="attr_physicalattackmatrixone_dac_2_wc_1" value="17">
<input type="hidden" name="attr_physicalattackmatrixone_dac_2_wc_2" value="18">
<input type="hidden" name="attr_physicalattackmatrixone_dac_2_wc_3" value="17">
.
.
.
<input type="hidden" name="attr_physicalattackmatrixone_dac_10_wc_14" value="8">
<input type="hidden" name="attr_physicalattackmatrixone_dac_10_wc_15" value="8">
<input type="hidden" name="attr_physicalattackmatrixone_dac_10_wc_16" value="10"> Finally I was thinking I might try accessing a rollable table (really a set of rollable tables) from the API. Or there may be something I am missing.