Ah, I see. Yes, knowing which class get's it and such...
Oh, and then there is the which animal or familiar gets it if you have more than one. Very tricky.
Aside 1 looks like it would work just fine with a tweak
Complevel set the Companion Level from the master, which is set by class/ability.
The feat seeks to determine the difference between Total Level and Companion level to determine any
difference, and grant up to 4 levels to the Companion level.
The program might not loop, it might. Only way to find out is to test it. Might need to rebuild it -
which wouldn't be too hard.
Feat would be:
Class would still be:
and you'd have to add - DEFINE:CompTotalLevel|0 BONUS:VAR|CompTotalLevel|CompLevel
The CompanionMod file would be altered to:
CompTotalLevel would be bonused by both the BoonCompanionBonus and CompLevel. Which avoids the
looping issue. However, the next part makes this a bit trickier, you want to exclude one companion
from the bonus.
The way you do that becomes a complicated mess - hopefully it doesn't come up. I fear some code work
in the companions area is needed to implement a graceful solution.
On 11/10/2011 12:30 PM, distant_scholar wrote:
> Boon Companion: http://www.d20pfsrd.com/feats/general-feats/boon-companion
> Benefit: The abilities of your animal companion or familiar are calculated as though your class were four levels higher, to a maximum bonus equal to your character level. If you have more than one animal companion or familiar, choose one to receive this benefit. If you lose or dismiss an animal companion or familiar, you may apply this feat to the replacement creature.
> If I remember correctly, this is difficult to code precisely, because the bonus to your class level may not be static. You want BONUS:VAR|CompLevel|x, but what x is may not (yet) be easily available to PCGen.
> If for a specific character (say, a single-classed ranger) you know what x will always be, it's easy enough to make the ability for that particular character, but a generic version might be tough.
> [Aside #1: The computer programmer in me wants to use BONUS:VAR|CompLevel|max(4,TL-CompLevel), but that will probably send PCGen into an infinite loop, or something.]
> [Aside #2: By a strict reading of the feat, the bonus should be BONUS:VAR|CompLevel|max(4,TL), but I'm sure that's not what they meant when they wrote the feat. :) ]
> --- In PCGenListFileHelp@yahoogroups.com, "Arjan" <arjan@...> wrote:
>> I would like to help you but unfortunately I cannot. Since I don't own the book you mention. If you can describe what you want the feat to do I can give it a shot.
>> --- In PCGenListFileHelp@yahoogroups.com, "Atticus509" <ricklaws@> wrote:
>>> I've searched the archives for this group and others and haven't found anything on topic yet.
>>> I am looking to code the Boon Companion feat from PFRPG Seekers of Secrets. Should I be using the FOLLOWERADJUSTMENT lst tag or should I be doing something with CompanionLevel instead?
>>> If anyone has a line or two of code they've ginned up for this feat, that would be really helpful too.
> Yahoo! Groups Links
> Andrew Maitland (LegacyKing)
> Admin Silverback - PCGen Board of Directors
> Data 2nd, Docs Tamarin, OS Lemur
> Unique Title "Quick-Silverback Tracker Monkey"
> Unique Title "The Torturer of PCGen"
[Non-text portions of this message have been removed]