• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Ability score increase selection on Animal Companion

AndrewD2

Well-known member
I've got a feat that lets you increase your ability score on an animal companion. I tried the herofield that is used to increase your ability scores when you gain a boost every 4 hit dice, which worked, but at the same time it listed that the bonus came from a level that AC did not yet have.

I was then trying to just use an expression to get the ability from the field[usrChosen1].chosen choice, but I can't seem to figure out the transition to be able to use that on the animal companion. If I just try using field[usrChosen1].chosen in the hero.childfound[cAnimComp].minion transition I get errors.

Ideally I would just like to use the picker from the increase from hit dice, but if that's not going to be viable (and not be confusing by saying the wrong level) then I'll go the other route.

Which way would be best, and how would I do the transition for the second option either way (just in case I need it in the future.)
 
Does the user get to choose which ability score is increased, or is it always the same?

Either way, look at Andoren Falconry for an example of transitioning to the animal companion from the hero.
 
They get to select. I can get to the animal companion just fine. It's using the field[usrChosen1] that causes the problem.

if I use

Code:
#applybonus[BonMorale, hero.childfound[cAnimComp].minion.child[field[usrChosen1.chosen], 1]

I get an error, I'm assuming that's because it's trying to look on the minion instead of the hero.
 
I am thinking your going to need to figure out WHICH ability score was picked and then go directly after it. You can't use the Pick on the Hero to adjust a different Pick on the minion.

So you would most likely need to check the chosen for a tagis[thingid.aSTR] and then adjust the Strength thing directly on the minion:

Code:
If (field[usrChosen1].chosen.tagis[thingid.aSTR] <> 0) Then
  #applybonus[BonMorale, hero.childfound[cAnimComp].minion.child[aSTR], 1]
Elseif (field[usrChosen1].chosen.tagis[thingid.aDEX] <> 0) Then
  #applybonus[BonMorale, hero.childfound[cAnimComp].minion.child[aDEX], 1]
etc....
 
Back
Top