Senior Member
Join Date: Dec 2010
Location: Northeast Quadrant
Posts: 128
|
This one is turning out to be pretty tricky for me.
Feat reads thus: "The monster’s size bonus to CMD is doubled" I have very limited XML experience (read: has entered simple stuff in hero lab). How would I go about scripting this? I need it to find and pull out the variable number that is the CMD size bonus. In short, I need script for (CMD = CMD + sizebonus) which I think I could figure out if I could get the thingid for the sizebonus, otherwise it's a ridiculous series of if/then (if large then CMD = CMD + 1, if colossal then CMD = CMD +8, etc etc etc) |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Double size bonus to CMB and CMD like this:
hero.childfound[Maneuver].field[tManSize].value *= 2 If it's ONLY CMD then you'll likely have to do the if/then, since tManSize is added to both. |
#2 |
|
|