This is the eval script I created for the granting of a Boon that grants a stat bonus that goes above 20:
Phase: Pre-Attribute, Priority: 10000
Quote:
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
doneif (field[pChosen].ischosen = 0)
~ Add to our chosen attribute
field[pChosen].chosen.field[aNormMod].value += field[pAdjust].value
field[pChosen].chosen.field[aMaxValue].value += field[pAdjust].value
|
You could use the same adjustment to add stats from a tome.