• 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

Need to Adjust Wounds and Vigor

Eklypse0

Active member
I am creating a custom game which uses Wounds and Vigor. It isn't exactly how the rules are in Ultimate Combat are though.

First, Wounds need to equal Constitution, with no adjustment based on level.
Second, Vigor needs to ignore the Con Modifier.

I can't seem to find any sort of adjustment settings to even manually alter either stat to fit the target profile.

How do I do this in Hero Lab?

(edit) I figured out how to manually adjust Vigor, however Wounds is still a mystery!
 
Last edited:
Either add it to an adjustment in an eval script, or create a mechanic with the same eval script. Also, make sure you alter "WHATEVER" into something specific to your aims.
 
Either add it to an adjustment in an eval script, or create a mechanic with the same eval script. Also, make sure you alter "WHATEVER" into something specific to your aims.

Aren't the mechanics for the official Pathfinder scripts locked? So I can not modify them?

If that is the case, being a newbie in HL scripting, though I have a decent understanding of programming, how/where would I create a new event that would:

1. Check to see if the player was using the Wounds/Vigor rules
2. If so, Make wounds equal to Constitution score.
3. Remove the Con modifier per level to Vigor?

Part of my problem is that I can't peek into the code of the rest of the module to have a basis of how to alter old code or create new code. If you could point me to how to read the current Pathfinder code, I would have a huge step up on how to figure out how to do the rest.
 
Check out FAQ#2 on the editor. It covers all the places to learn about HL scripting including a four part intro videos. Video 2 or 3 covers how to look at existing scripts, fields, and tags. Also shows how to turn on some of the debugging features.

The big thing is you can do "new copy" against existing Things and see their scripts.

Mechanics are a Thing that are attached to all characters and is a special tab in the editor. Its a good place to put global scripts as they will be attached and run for all characters.

Check out the above it should help get you started.
 
Thank you. Hopefully this will give me the understanding to make at least a simple change!

Still don't understand why Wounds couldn't have just shown up as an 'Adjust' modification.
 
Thank you. You guys helped immensely.

I didn't even have to get through half of the second video before I had enough information to find out where I could copy and alter an existing 'Adjustment'. Thank you, ShadowChemosh!

Then the actual information that I needed to edit, I don't think I could have found without Aaron. I just didn't have the foundation to figure out how to utilize 'wndTotal' even after having found it buried in the Debug Tracker.

My workable solutions came from editing the 'Hit Point (pHP)' Adjustment, with Vigor Modify being pretty much a copy, but now findable in the Adjustments under Vigor. Wounds took a little more, but I was able to copy/paste the information from Aaron.

Vigor Modify : Eval Script
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ Add to our Vigor
herofield[tHP].value += field[pAdjust].value

Wounds Modify : Eval Script
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ Add to our Wounds
hero.childfound[Wounds].field[wndTotal].value += field[pAdjust].value
 
Back
Top