direinsomniac
Well-known member
For a while now, I've been trying to figure out how to get my PrC's levels to stack with monk levels for purposes of the amount of Ki in the Ki Pool, without having to assign the ability.
Now I tried the script:
but this script doesn't do anything since the PrC doesn't already have access to the ability.
However, after looking at the scripts for the Monk's Ki Pool ability, I figured out a way to marry the two scripts together.
Now because this script is being run from the Classes tab, you have to do the full reference both times, otherwise it tries to look for the fields in the cHelpPrC (which obviously, they wouldn't exist there).
Now I tried the script:
Code:
hero.childfound[cMnkKiPool].field[xExtraLev].value += field[cTotalLev].value
but this script doesn't do anything since the PrC doesn't already have access to the ability.
However, after looking at the scripts for the Monk's Ki Pool ability, I figured out a way to marry the two scripts together.
Code:
~Our PrC levels also add to our ki pool amount
var bonus as number
bonus = #levelcount[MyPrC] /2
hero.childfound[cMnkKiPool].field[xExtraLev].value += round
(bonus,0,-1)
hero.childfound[cMnkKiPool].field[trkMax].value +=
hero.childfound[cMnkKiPool].field[xExtraLev].value
Now because this script is being run from the Classes tab, you have to do the full reference both times, otherwise it tries to look for the fields in the cHelpPrC (which obviously, they wouldn't exist there).
Last edited: