Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Anyone know if it is possible for a script set on an animal companion to pull the value of a field from hero whom the animal companion belongs to?
I am trying to create an adjustment for an animal companion that needs to pull the proficiency bonus from the hero it is attached to. My script works fine when I set the proficiency bonus manual through pAdjust. I am just trying to automate the pulling of the ProfBonus from the owner if it is at all possible. Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#1 |
Senior Member
Lone Wolf Staff
Join Date: Aug 2012
Posts: 779
|
Adding master.codehere to the beginning of a statement will get you to a minion's master.
For example, master.child[ProfBonus].field[tProfBonus].value will give you the master's proficiency bonus. Last edited by Hollis; September 8th, 2016 at 06:03 AM. |
#2 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Many thanks Hollis. it will make my work withminions much, much easier.
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#3 |
|
|