Senior Member
Join Date: Apr 2011
Posts: 101
|
My group uses a modified version of wounds and vigor from Ultimate Combat. The primary difference is that large and above creatures have higher wound totals. I'm trying to create an adjustment that will add (or subtract) from a creature's total wounds, and I can't seem to figure out how to do so. Any tips? Thanks.
|
#1 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Take a look at the construct type. That has variables set up to give HP based upon a specific size.
Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
|
#2 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Look at the Toughness feat, that has an eval script which adds to wounds.
|
#3 |
Senior Member
Join Date: Apr 2011
Posts: 101
|
Looking at Toughness is a good call, but I'm still not able to get it to work. The feat references container.child[Wounds].field[wndFeat].value, which didn't sound like what I wanted to adjust. I checked the timing report for a creature with Wounds and Vigor enabled, and found the field wndTotal. For now, I'm just trying to create a Wounds adjustment, so I copied the HP adjustment and altered as I thought needed, like so:
Code:
~ If we're not enabled, get out now doneif (field[pIsOn].value = 0) if (hero.tagis[source.UCWound] <> 0) then ~ Add to our Wounds herofield[wndTotal].value += field[pAdjust].value endif Attempt to access field 'wndTotal' that does not exist for thing 'Totals' repeated twice. I'm stumped again, unfortunately. |
#4 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
It's not a herofield, it's on the wounds helper.
Code:
~ If we're not enabled, get out now doneif (field[pIsOn].value = 0) if (hero.tagis[source.UCWound] <> 0) then ~ Add to our Wounds hero.childfound[Wounds].field[wndTotal].value += field[pAdjust].value endif |
#5 |
Senior Member
Join Date: Apr 2011
Posts: 101
|
Aha! Thanks for the help, that worked perfectly.
|
#6 |
Thread Tools | |
Display Modes | |
|
|