I was wondering if it were possible with jQuery to add together numbers in a string...
The strings can only be added to themselves as shown in the examples below. If one or more of the string appears, it should be combined.
All the possible strings: click here
Example with possible strings:
+0.53 attack damage
+0.53 attack damage
= 1.06 attack damage
+8.75 mana
+8.75 mana
= 17.5 mana
Each of these can be combined up to 9 times.