• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

increase size bonus to CMD

poizen37

Well-known member
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)
 
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.
 
Back
Top