Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
So you guys would subtract a positive then? hmmmm Also yea I forgot the period above. I did not know about the herofield is actually hero.child[totals]. That makes sense now that you say it. So really it should be: Code:
field[abValue].value += tagcount[fCategory.Metamagic] * 2 herofield[tHP].value += field[abValue].value 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. |
|
#11 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
What value is inside "abValue2". That can help narrow down if the issue is in the count calculation or how its getting added to the HP total.
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. |
#12 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
when I debug it tells me the tagcount[fCategory.Arcana] is 1 and abValue2 is 2 but it should be tagcount = 4 and abValue 8 with what's on the character. It seems it is only counting itself.
|
#13 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
And in case it helps here's the feat:
Arcane Body Your arcane power reinforces your body. Benefit: When you take this feat, you gain 2 hit points for each arcana feat you have (including this one). Whenever you take a new arcana feat, you gain 2 more hit points. You add 1 point to your arcane pool. |
#14 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Opps my bad. I did that script a little too quick. Your right it is only looking at itself.
Code:
~ Add to abValue first so outside things can adjust us field[abValue].value += 1 ~ add to the pool total #trkmax[trkArcaneP] += field[abValue].value field[abValue2].value += hero.tagcount[fCategory.Arcana] * 2 herofield[tHP].value += field[abValue2].value 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. |
#15 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
THANK YOU! Works beautifully. Originally when I was working this out in my head I knew it needed to have that, looks like I forgot too. :-D
|
#16 |
|
|