Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Doskious
Junior Member
 
Join Date: Jul 2011
Posts: 21

Old August 4th, 2018, 03:30 PM
I'm trying to whomp up an archetype for Arcane Familiars that, mechanially, gives them an evolution pool based on their master's primary casting stat modifier.

Unfortunately, everything I've tried to achieve this via Eval Script has failed one way or another: if I time the script in the PostAttribute phase, it can identify the right number just fine, but the number of evolution points that the familiar displays appears not to change, but if I time the script in the PostLevel phase (or earlier), while it gains the ability to modify the value that determines the number of evolution points, it loses the ability to determine the master's casting-stat modifier...

The following code executes on the familiar as the "hero" thing. Everything I can find about bumping evolution points seems to execute by the PostLevel phase, and I'm starting to think that what I want to do is not possible to do in HeroLab (which strikes me as both silly and unfortunate, if true).

Code:
<eval phase="PostLevel" priority="10000" index="2"><![CDATA[
  var bonus as number
  bonus = 1
  foreach pick in master.hero from Class where "sClass.arDFamMorp"
    debug eachpick.field[cAbbr].text & ": " & eachpick.field[cSplAttBon].value
    bonus = maximum(eachpick.field[cSplAttBon].value, bonus)
    nexteach
  debug "bonus: " & bonus
  perform hero.findchild[BaseRace].setfocus
  focus.field[rGiveSpec].value += bonus
  debug "Evolutions: " & hero.findchild[BaseRace].field[rGiveSpec].value]]></eval>
Any insight into how to overcome this conundrum would be greatly appreciated...
Doskious is offline   #1 Reply With Quote
Dwayne
Senior Member
 
Join Date: Jan 2011
Posts: 377

Old August 5th, 2018, 02:42 PM
I don't know if this helps but the figment archetype for familiars adds an evolution pool to the familiar.
Dwayne is online now   #2 Reply With Quote
Doskious
Junior Member
 
Join Date: Jul 2011
Posts: 21

Old August 6th, 2018, 01:33 PM
Quote:
Originally Posted by Dwayne View Post
I don't know if this helps but the figment archetype for familiars adds an evolution pool to the familiar.
Thanks; that's the model I've based my development on, actually. Unfortunately, I can't seem to find anything that modifies the evolution count for any minion based on an attribute value.
Doskious is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

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 01:40 PM.


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