I'm trying to add the Ascetic Hunter feat from Complete Adventurer, which allows you to add your ranger levels to the monk's hieghtened unarmed strike damage. I found the example in the help files, but there was one line I didn't understand.
levels = root.field[cTotalLev].value
So I modified it like this
Phase: Levels Priority: 999999
~ Make sure this is done as one of the last things in the "Level" phase, before the "PostLevel" scripts run - we need to set the "xExtraLev" field before then.
~ Get our total number of levels from the Ranger class and add it to our monk levels for Unarmed Strike damage
var levels as number
levels = #levelcount[Ranger]
hero.child[cMnkUnarm].field[xExtraLev].value += levels
But upon testing, it is not working, even after adding 7 levels or ranger, unarmed strike damage remains d6. Any help/explainations?
levels = root.field[cTotalLev].value
So I modified it like this
Phase: Levels Priority: 999999
~ Make sure this is done as one of the last things in the "Level" phase, before the "PostLevel" scripts run - we need to set the "xExtraLev" field before then.
~ Get our total number of levels from the Ranger class and add it to our monk levels for Unarmed Strike damage
var levels as number
levels = #levelcount[Ranger]
hero.child[cMnkUnarm].field[xExtraLev].value += levels
But upon testing, it is not working, even after adding 7 levels or ranger, unarmed strike damage remains d6. Any help/explainations?