Totally untested (and unused) first draft for pure combat core rules. Just a bunch of static functions, that do or apply calculations from the rulebook.
Next step would be to test them and integrate them into some kind of "combat flow" mechanism.