I'm looking to creating a custom feat that has the psionic feat "Unwilling Participant" feat be able to have it's DC modified by the key ability modifier of the player's choosing (which must be the key ability of one of his manifesting classes). The validation I will do as a to-do, but the DC modification is based on the pick list
From my searches I found:
perform hero.child[fPUUnwillP].tagreplace[StandardDC.?,StandardDC.aINT] -- to change the DC of the feat based on a static ability
Can anyone give the code on what I need to have that aINT be changed to the attribute chosen?
Custom Expression: component.BaseAttr
Similar to something like:
Am I on the right track?
Note: I am trying to use the class linkage "psiattr" which I believe is analogous to spellattr for spellcasting classes. -- But getting an error.
From my searches I found:
perform hero.child[fPUUnwillP].tagreplace[StandardDC.?,StandardDC.aINT] -- to change the DC of the feat based on a static ability
Can anyone give the code on what I need to have that aINT be changed to the attribute chosen?
Custom Expression: component.BaseAttr
Similar to something like:
Code:
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
doneif (field[pChosen].ischosen = 0)
~ get the chosen class psionic power attribute and assign to tagexpr
perform field[pChosen].chosen.pulltags[psiattr.?]
tagexpr = tagvalue[psiattr.?]
~ replace standard dc tag with new tag
perform hero.child[fPUUnwillP].tagreplace[StandardDC.?,StandardDC.tagexpr]
Am I on the right track?
Note: I am trying to use the class linkage "psiattr" which I believe is analogous to spellattr for spellcasting classes. -- But getting an error.