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
Bishop37
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Location: Austin, TX
Posts: 267

Old June 11th, 2011, 12:12 PM
I want to have a template that adds 5 ft. to the base reach of the creature. I do not want it to simply add the "reach" quality to the creature's attacks (like I've seen some feats do), as if the creature uses a reach weapon it should have the benefit of the increased base reach AND the reach quality of the weapon.

Many creatures do not have a base reach set, so if you try to add 5 to the reach you end up with a creature with a reach of 4 (I have no idea why that is...I'm assuming that something in the code has the default reach set to the greater of -1 or the reach as determined by size).

Right now, I think I can make it work by explicitly saying "if creature has a set reach, add 5. If it doesn't have a reach, then if its size X, then set reach to Y" and so on, with statements for each size category.

I foresee many "if...then" statements in my future, but I wanted to see if anyone had any thoughts on how to streamline this.

Thanks,
Rob
Bishop37 is offline   #1 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old June 11th, 2011, 07:52 PM
I guess i am a bit confused. all creatures have a reach value, its at the bottom of the Basics colunm.

Are you lookin to just have that increased by 5 feet or are you looking for something else?

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
Bishop37
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Location: Austin, TX
Posts: 267

Old June 12th, 2011, 01:22 AM
Quote:
Originally Posted by chiefweasel View Post
I guess i am a bit confused. all creatures have a reach value, its at the bottom of the Basics colunm.

Are you lookin to just have that increased by 5 feet or are you looking for something else?
Yeah. However, reach isn't manually defined for every creature...most seem to inherit their reach from their size; the exception is for creatures that have a non-standard reach to begin with.
Bishop37 is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 15th, 2011, 02:07 PM
A character's reach is stored in herofield[tReach].value

The reach calculated from size and any racial overwrites of that default reach are applied at Final/10000, so you can add +5 to that value after Final/10000.
Mathias is online now   #4 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 02:34 PM.


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