PDA

View Full Version : Basic Maths...



Oberoten
March 11th, 2007, 11:55
This might seem a bit like a post in the eleventh hour but I am still working a bit on the olde ArsMagica ruleset and I have found a bit of a problem...

It is concerning wounds, which basically are stackable units in this system.
IE, you get a light wound and you get -1 on all totals for EACH such you have, a medium wound and you get -3 for each such. And it all tends to add up...

Now this, the adding up is the problem of course. XML isn't exactly made for maths.

I have a field for each kind of wound (and I have cleverly put the penalty / wound as a static numeric field on the charsheet, hiding it in plain sight) but then comes adding it all together...









... aaand... Nevermind.

Valuemaps work. *sighs*
... But I'd still want to see how to add a number to itself several times? Is there any way to do this without dummy values?