• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Template help: Add reach to the base creature

Bishop37

Well-known member
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
 
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?
 
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.
 
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.
 
Back
Top