Ok, I've got it working.
Code:
<eval phase="PostLevel" priority="10000">
~ Add class defense
~ As this varies for each class, the formula may change
var classdef as number
var mylevel as number
classdef = 0
mylevel = #levelcount[cStrongH]
classdef = (mylevel + 1) / 2
classdef = round(classdef, 0, -1)
hero.child[xClassDef].field[Value].value += classdef</eval>
<eval phase="PostLevel" priority="10000" index="2">
~ Add Reputation
~ As this varies for each class, the formula may change
var reputation as number
var mylevel as number
mylevel = #levelcount[cStrongH]
reputation = (mylevel - 1) / 4
reputation = round(reputation , 0, -1)
hero.child[xRepBonus].field[Value].value += reputation</eval>
Now, is there a way to get it showing up on the Class tab instead of it showing up on the Specials tab?
Also, I seem to add the Reputation, I have the Helper.ShowSpec tag on the ability, but when I look at the Selection Tags, the ShowSpec tag isn't there so is not showing on the Special tab. Suggestions?
What do I need to do to add action points to my new class? If I select the AP option from the configure hero, it shows up in the In-Play tab, but I'd also like to have it show in the Specials tab along with my Class Defense and Reputation. When I get to the Advanced classes, How will I change the base points gained for it?