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

I think I'm starting to get it a little.

I've attempted to write some pieces myself..

The last one is simple a healthCalc function applying the double HP bonus at rank 4, nothing more.

The init function give assigns health, defense and resistance to the js variables. It throws an error on page load when I attempt to have it without an argument, so this is my current, ugly, soon-to-be replaced solution. The error is gone, though im not really satisfied. If some scripts can be specified to fire on page load, this is the one.

Finally the setrank will accept the rank and apply it on the page. Quite fun playing around with already, I must admit.

I've change my Upgrade buttons to have "None" as default option - which is pretty much the base situation.

Also, I've put some small changes in the Button CSS.

(and the same for select-upgrade)

which is basically our color theme set.