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
SDShannonS
Junior Member
 
Join Date: Jan 2013
Posts: 26

Old August 25th, 2023, 11:05 AM
Hi there,

I am trying to code a custom Haste effect for the PF1 ability Blazing Rondo. It produces a Haste-like effect except the adjustments to AC, attack rolls, and Reflex saves can scale from +1 up to +4 (one-fifth the caster's level). When I pull up a New (Copy) of the Haste effect, it looks like there's a script that just calls HasteComb rather than making those individual adjustments in the Haste thing. Can anyone give me a suggestion as to how to proceed here?

EDIT: I am attempting this in HeroLab Classic.

Last edited by SDShannonS; August 25th, 2023 at 11:15 AM.
SDShannonS is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old August 26th, 2023, 05:09 AM
The simplest solution would probably be to take the current Haste and add an additional script after call HasteComb to further increase those bonuses by using the incrementer.

Last edited by Sendric; August 26th, 2023 at 08:55 AM.
Sendric is offline   #2 Reply With Quote
SDShannonS
Junior Member
 
Join Date: Jan 2013
Posts: 26

Old September 1st, 2023, 09:40 AM
Honestly, I'm not sure how to write a script to utilize the incrementor in a way that will stack with or replace the original script.

The part about this that I find most frustrating is the fact that this isn't already in place. I'm paying for the content that includes Blazing Rondo but the good folks at Wolf Lair didn't include any way to apply the bonuses from Blazing Rondo to either the caster or to other characters as a Spell, Conferred Ability, or Other adjustment. It really feels like I shouldn't be having to kludge together a script myself when this is content I paid for already.
SDShannonS is offline   #3 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old September 1st, 2023, 10:23 AM
Ok. It does seem weird that there isn't an adjustment already in place for this. Do a new (copy) of Haste in the editor. Change the name to Blazing Rondo and give it a new thingid. Then make the following changes:

Optional:
1) Change List to Show On to Conferred Ability (this isn't necessary but makes more sense when applying to allies).

2) Change description.

Required:
1) Uncheck "No Incrementer" and set the min/max adjustment to 1 & 4, respectively.

2) Change the script that calls HasteComb to the following:

Code:
~ if we're not active, just get out now
  doneif (field[pIsOn].value = 0)

~ This procedure adds +1 to attack, +1 to Reflex saves, and foreaches
~ through all non-natural attacks to assign an extra attack.
  doneif (hero.tagis[Hero.Hasted] <> 0)

if (hero.childfound[pBleFerAtk].field[pIsOn].value = 0) then
   hero.child[Attack].field[Bonus].value += field[pAdjust].value
   hero.child[ArmorClass].field[tACDodge].value += field[pAdjust].value
   hero.child[svRef].field[Bonus].value += field[pAdjust].value
endif

call AdjExtraAt

perform hero.assign[Hero.FlurryBon]
perform hero.assign[Hero.Hasted]
Sendric is offline   #4 Reply With Quote
SDShannonS
Junior Member
 
Join Date: Jan 2013
Posts: 26

Old September 1st, 2023, 04:45 PM
That seems to work. Thanks so much for your help. I wish it hadn't been necessary.
SDShannonS is offline   #5 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 07:01 AM.


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