I've been through all of the threads for this and still can't make heads or tails of it. I'm trying to have Improved Two-Weapon and Greater Two-Weapon fighting be added automatically if the prereqs are met, however nothing I try seems to work.
This is my current attempt:
This is my current attempt:
Code:
doneif (hero.tagis[HasFeat.fTwoWep] = 0)
if (hero.child[Attack].field[tAtkBase].value >= 6) then
if (#attrmod[aDEX] >= 17) then
perform hero.assign[HasFeat.fImpTwoWep]
endif
endif
if (hero.child[Attack].field[tAtkBase].value >= 11) then
if (#attrmod[aDEX] >= 19) then
perform hero.assign[HasFeat.fGrtTwoWep]
endif
endif