Member
Join Date: Aug 2014
Posts: 44
|
Hello,
The following script is not working and I don`t understand why : hero.child[svWill].field[Bonus].value += hero.child[aWIS].field[aBonus].value It looks really simple, and it should work. Is it related to something like I cannot stack bonus?! Thank you! |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
If your timing is before post-attributes that would be the issue as the bonus for Wis has not been calculated yet.
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. |
#2 |
Member
Join Date: Aug 2014
Posts: 44
|
Thx, starting to have better understanding of the editor now...
|
#3 |
|
|