Want to swap INT modifier for DEX modifier for a ranged attack weapon...
I have an eval script set to post-attributes, with the following:
The part after the = is evaluating fine, but I have no examples that I can find in the tutorial, help, or in the forums for what the code in front of the = should look like.
Suggestions? Improvements to my thinking? I realize I could modify the overall range attack bonus, but want it specific to this weapon.
I have an eval script set to post-attributes, with the following:
Code:
wAttBonus.value = hero.child[Attack].field[tAtkRanged].value
- hero.child[aDEX].field[aModBonus].value
+ hero.child[aINT].field[aModBonus].value
The part after the = is evaluating fine, but I have no examples that I can find in the tutorial, help, or in the forums for what the code in front of the = should look like.
Suggestions? Improvements to my thinking? I realize I could modify the overall range attack bonus, but want it specific to this weapon.