Board Thread:Support Requests - Getting Technical/@comment-24531999-20160403193123/@comment-24531999-20160409183701

I don't really want to just display the stats in a table format. I want to get the statistics so that I can do mathematical operations on them in the script. The calculator is meant to offer insights that the tables cannot.

Here is what I was thinking. Your AJAX retrieval would get the data in the table on the correct page and convert it into a JSON object like this: I could then call the correct stat (eg: The level 2 Ice Wizard's Area Damage) like this: The calculator will need to look up more than one card's statistics. There would be more than one troop/spell/building  element, so whenever a new troop/spell/building is selected by the user, your AJAX function would add  the new troop/spell/building's statistics to the   variable. For example, the user might select the Princess as the second troop. This would be the new  variable (The Princess does not have the same stats as the Ice Wizard. This is just a syntax example):