View Single Post
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old April 20th, 2016, 01:08 PM
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.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #2 Reply With Quote