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

Old March 29th, 2017, 11:07 AM
Quote:
Originally Posted by chaoscowboy View Post
Some island trolls, whatever those are, can be large sized instead of medium. Well, with this code, I can make the alternate racial trait for small to medium!

Code:
doneif (tagis[Helper.SpcDisable] <> 0)

hero.findchild[BaseRace].field[rSTR].value -= 2
perform hero.findchild[BaseRace].tagreplace[RaceSize.Medium0,RaceSize.Large1]

~ hieght/weight adjustments

hero.findchild[BaseRace].field[rHeightMnM].value = 90
hero.findchild[BaseRace].field[rHeightMnF].value = 87
hero.findchild[BaseRace].field[rWeightMnM].value = 375
hero.findchild[BaseRace].field[rWeightMnF].value = 340
I was going to mention changing the tag size on the Race "very" early timing like First/200 or so would be a good way to go. This way the race is fully treated as the new size going forward. HL will not by default change attributes by doing the above tag replacement.

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   #10 Reply With Quote