View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 21st, 2017, 03:14 PM
Just FYI that increases size and reach. The OP wanted to just increase reach.

Also use += makes the script way shorter:
Code:
~if we've been replaced, get out now
doneif (tagis[Helper.Disable] <> 0) 
~ If not active get out now!
doneif (field[abilActive].value = 0)

~ Increase size by one step
hero.findchild[BaseRace].field[rSizeMod].value += 1
I like doneif for stop scripts instead of if/end statements. Just seems easier to read.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #15 Reply With Quote