Thread:Jens Ingels/@comment-24416108-20141128155015/@comment-24416108-20141129153114

You're right I don't know to much about js, and I was merely hoping the templates could do most of the work, since they're already doing it. I do have some basic C++ knowledge, but that's it. I can only hope you'll be willing to indulge my lack of knowledge.

If I understand the example correctly, would just including this piece of code in the Common.js make it work? (for the health/defense/resistance values at least?)

If so, how can I refer to the calculated values in the templates?