The important part is in this script:
Code:
Post-levels 10000
if (field[xIndex].value >= 2) then
field[listname].text = "Perfect Balance"
endif
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
~ If we're disabled, just get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ If we're not the first copy, just get out now
doneif (tagis[Helper.FirstCopy] = 0)
field[abValue].value += field[xCount].value
if (field[xCount].value >= 2) then
field[livename].text = "Perfect Balance -" & field[abValue].value
else
field[livename].text = field[thingname].text & " -" & field[abValue].value
endif
~if the other script didn't change the weapon from one-handed to light
[B]~we'll tell the hero to subtract something from the
~dual-wielding penalties
[/B]if (field[abValue2].value = 0) then
perform hero.assign[Hero.ImpBalance]
if (field[xCount].value > 1) then
perform hero.assign[Hero.ImpBalance]
endif
endif
Just based on the comments in the bolded section I would assume its what you need. Then it appears to just be setting one or two tags onto the hero.
If this was me I would build a very simple adjustment that assigned the same tag to the hero and see what happened.
Post-Levels/10000
Code:
perform hero.assign[Hero.ImpBalance]
If you just do this code on an adjustment and add it to a character with twf feat and say two short swords. Does the attack bonus change when adding the adjustment?