Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 8th, 2017, 12:21 PM
Post your code I guess? This is for an adjustment, yeah?
Aaron is offline   #11 Reply With Quote
Quintain
Senior Member
 
Join Date: Feb 2012
Posts: 546

Old March 8th, 2017, 12:49 PM
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>
Quintain is offline   #12 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 8th, 2017, 01:33 PM
Is this line necessary? What is your adjustment selecting?

Code:
~if nothing's been chosen, get out now
doneif (field[pChosen].ischosen = 0)
Aaron is offline   #13 Reply With Quote
Quintain
Senior Member
 
Join Date: Feb 2012
Posts: 546

Old March 8th, 2017, 02:07 PM
Quote:
Originally Posted by Aaron View Post
Is this line necessary? What is your adjustment selecting?

Code:
~if nothing's been chosen, get out now
doneif (field[pChosen].ischosen = 0)
Hmm.. nothing specifically is chosen, I was looking for an enabled/disabled switch and probably picked the wrong one.
Quintain is offline   #14 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 8th, 2017, 02:55 PM
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
Aaron is offline   #15 Reply With Quote
Quintain
Senior Member
 
Join Date: Feb 2012
Posts: 546

Old March 8th, 2017, 02:57 PM
Quote:
Originally Posted by Aaron View Post
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
Fantastic. Works perfectly now.

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.
Quintain is offline   #16 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:04 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.