Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Location: Austin, TX
Posts: 267
|
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 |
#1 |
Senior Member
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322
|
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 |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Location: Austin, TX
Posts: 267
|
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.
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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. |
#4 |
|
|