Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Post your code I guess? This is for an adjustment, yeah?
|
#11 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
Yes.
Here's the xml: <thing id="pPACZFury" name="Zealous Fury, Zelladariath’s" description="Reduces 2nd and subsequent BAB penalty by 5." compset="InPlay"> <fieldval field="pMaximum" value="3"/> <fieldval field="pMinimum" value="0"/> <tag group="Helper" tag="AdjSpell"/> <eval phase="PostLevel" priority="10000"><![CDATA[ ~ If we're not enabled, get out now doneif (field[pIsOn].value = 0) ~if nothing's been chosen, get out now doneif (field[pChosen].ischosen = 0) var XI as number while (XI < field[pAdjust].value) XI += 1 ~Assign our precision tag perform hero.assign[Hero.Precision] loop]]></eval> </thing> |
#12 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Is this line necessary? What is your adjustment selecting?
Code:
~if nothing's been chosen, get out now doneif (field[pChosen].ischosen = 0) |
#13 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
|
#14 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
The line before that, checking the value of pIsOn is the stop you needed. Delete the pChosen doneif and I think what you have otherwise should work
|
#15 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
Quote:
This even works with the Transformation spell adjustment, so that you can apply that spell adjustment and this one to make your BAB all the same value even if you are using an adjusted BAB. |
|
#16 |
|
|