Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
alientude
Senior Member
 
Join Date: Apr 2011
Posts: 101

Old July 25th, 2013, 07:22 PM
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.
alientude is offline   #1 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old July 26th, 2013, 12:27 AM
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
bodrin is offline   #2 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old July 26th, 2013, 10:11 AM
Look at the Toughness feat, that has an eval script which adds to wounds.
Aaron is offline   #3 Reply With Quote
alientude
Senior Member
 
Join Date: Apr 2011
Posts: 101

Old July 26th, 2013, 11:35 PM
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
Compiling this works fine, but when I enable the adjustment, I get:

Attempt to access field 'wndTotal' that does not exist for thing 'Totals'

repeated twice. I'm stumped again, unfortunately.
alientude is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old July 29th, 2013, 05:51 AM
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
Aaron is offline   #5 Reply With Quote
alientude
Senior Member
 
Join Date: Apr 2011
Posts: 101

Old July 30th, 2013, 05:33 AM
Aha! Thanks for the help, that worked perfectly.
alientude is offline   #6 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:33 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.