Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
areteas
Member
 
Join Date: Jul 2010
Posts: 75

Old November 14th, 2010, 05:38 PM
Trying to implement penalties for missing limbs/extremities from a 3PP product - they don't really work as flaws (limit of 2, only selectable at 1st level) so I'm aiming to add them as permanent adjustments on the Personal tab.

Problem is they carry cumulative penalties (missing one leg and the other foot, for example, has a larger penalty than just missing one foot) and I can't figure out how to check for and count active permanent adjustments.

I'd hoped it would be similar to feats/traits such as (this doesn't work obviously)
Code:
hero.tagis[HasAdj.pMsLeg] <> 0
or
hero.tagcount[HasAdj.pMsFoot] > 1
or even
hero.tagis[Helper.AdjPerm.pMsFoot] <> 0
but this is not the case.

Anyone able to offer any advice on how to check for the presence of a permanent adjustment & how to count the instances of a particular adjustment? I'm a little stumped. I was able to get the "field[pIsOn].value <> 0" bit from the spell adjustment thread to figure out activation status (thanks ShadowChemosh).
areteas is offline   #1 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old November 15th, 2010, 05:00 AM
I might put the different options you have in as Adjustments. That way when you select one it will add the penalty to everything. It might make for a lot of adjustments but with someone so non-standard it might be the only way to go.

Web site - Cheese Weasel Logistics - www.cheeseweasel.net
Twitter - @CheeseWeaselGMZ
For user created content check out www.d20pfsrd.com and www.cheeseweasel.net
For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5
chiefweasel is offline   #2 Reply With Quote
areteas
Member
 
Join Date: Jul 2010
Posts: 75

Old November 18th, 2010, 06:21 PM
Adjustments are exactly what I'm trying to code... but adding them as selectable permanent adjustments for ease of application is my goal, to implement supplemental rules in a 3PP book.
Still no luck... after searching one of the PF core data files I've tried tagcount[Helper.Adjustment] & tagcount[Adjustment.?] with no luck, but perhaps I'm applying them in the wrong context. Anyone?
areteas is offline   #3 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old November 18th, 2010, 07:30 PM
Make an adjustment, name it "Missing Limbs" or something, and give it an Unique ID of pMissLimb, and any other ones that you might need

If it has an incrementer, you can get the field's value from another thing with:
hero.childfound[pMissLimb].field[pAdjust].value

Then you can bootstrap a unique special to each of the permanent adjustments. This unique special looks at each of the new adjustments you have made, it's value, and then applies the correct penalties.
Lawful_g is offline   #4 Reply With Quote
areteas
Member
 
Join Date: Jul 2010
Posts: 75

Old November 22nd, 2010, 08:30 PM
Quote:
Originally Posted by Lawful_g View Post
Make an adjustment, name it "Missing Limbs" or something, and give it an Unique ID of pMissLimb, and any other ones that you might need

If it has an incrementer, you can get the field's value from another thing with:
hero.childfound[pMissLimb].field[pAdjust].value

Then you can bootstrap a unique special to each of the permanent adjustments. This unique special looks at each of the new adjustments you have made, it's value, and then applies the correct penalties.
Still trying to figure out the particulars of this, but childfound and childcount seem to have put me in the right direction. Thanks Lawful!
areteas is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 23rd, 2010, 08:03 AM
Would it work to have a "missing right foot" adjustment that's always activated if the "missing right leg" adjustment is active (and have the missing foot be added when you add the leg)?
Mathias is offline   #6 Reply With Quote
areteas
Member
 
Join Date: Jul 2010
Posts: 75

Old November 23rd, 2010, 12:46 PM
Eh the way the 3PP is written the penalties for missing a foot are built into the missing leg (same with hand and arm). I have it set up that if you have both 'missing leg' and 'missing foot' adjustments, the missing foot's livename changes to 'Missing Foot (Other Leg)' and it throws an error if you try to do something like add 2 increments of Missing Foot along with any number of Missing Leg.

Just not all that familiar with bootstrapping, so reading up on that now & experimenting.
areteas is offline   #7 Reply With Quote
Reply


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 07:19 AM.


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